MegTrustDevelopers

Read recent movements

On-chain movements, newest first, cursor-paged: follow meta.next_cursor until it is null. A page can hold slightly fewer rows than limit (network fees fold into their payout row) or more (a move between two of your own wallets is two rows). Payouts waiting for approval are not listed here; follow them in /api/v1/withdrawals.

GET/api/v1/transactions

On-chain movements, newest first, cursor-paged: follow meta.next_cursor until it is null. A page can hold slightly fewer rows than limit (network fees fold into their payout row) or more (a move between two of your own wallets is two rows). Payouts waiting for approval are not listed here; follow them in /api/v1/withdrawals.

Authorization

KeyId Timestamp Signature
x-api-key-id<token>

Key ID registered by your organisation administrator.

In: header

x-api-timestamp<token>

Unix seconds within ±300 seconds of the server clock.

In: header

x-api-signature<token>

Padded base64 Ed25519 signature over timestamp, METHOD, exact path+query, lowercase SHA256(raw body), Idempotency-Key or empty string, joined with LF. Legacy HMAC uses lowercase hex HMAC-SHA256. Signing is required; entering a static value is insufficient.

In: header

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
wallet_id?string
Length1 <= length <= 128
cursor?string

meta.next_cursor from the previous page. Page with this only.

Formatuuid
created_after?string

Only movements recorded after this time. A range filter, not a paging mechanism.

Formatdate-time
created_before?string

Only movements recorded before this time. A range filter, not a paging mechanism.

Formatdate-time
_request_id?string

Fresh random UUID per attempt, included in the signed path. Avoids duplicate signatures for identical requests in the same second.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/transactions"
{  "data": [    {      "id": "string",      "created_at": "2019-08-24T14:15:22Z",      "direction": "in",      "from": {        "name": "string",        "address": "string"      },      "to": {        "name": "string",        "address": "string"      },      "amount": "string",      "asset": "string",      "fee": "string",      "fee_asset": "string",      "status": "string",      "tx_hash": "string",      "network": "string",      "network_name": "string",      "wallet_id": "string"    }  ],  "meta": {    "count": 0,    "limit": 0,    "next_cursor": "string",    "offset": 0,    "next_offset": 0,    "idempotent_replay": true,    "already_exists": true,    "stale": true  }}