POSTGetFills🔐 Auth

Get trade fill history.

Request

ParameterTypeDescription
addressoptionalAddress
market_idoptionaluint320 = all markets
limitoptionaluint32

Response

FieldTypeDescription
fillsFill[]

Example

Request

import { RealmClient } from '@realm/sdk';
const client = new RealmClient('https://api.realm.com');
await client.connect(wallet);
const response = await client.getFills({ /* params */ });
console.log(response);

Response

{
// Response fields
}