Skip to main content
POST
/
v1
/
protocols
/
transactions
Get all cross-chain transactions
curl --request POST \
  --url https://api.range.org/v1/protocols/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "scrollId": "<string>"
}'
{
  "scrollId": "<string>",
  "hasMore": true,
  "transactions": [
    {
      "id": "<string>",
      "sender": "<string>",
      "senderEntity": "<string>",
      "senderName": "<string>",
      "senderAsset": "<string>",
      "senderAmount": 123,
      "senderTransactionHash": "<string>",
      "senderChain": "<string>",
      "receiver": "<string>",
      "receiverEntity": "<string>",
      "receiverName": "<string>",
      "receiverAsset": "<string>",
      "receiverAmount": 123,
      "receiverTransactionHash": "<string>",
      "receiverChain": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "protocol": "<string>",
      "usdValue": 123,
      "status": "<string>"
    }
  ],
  "count": 123
}

Authorizations

X-API-KEY
string
header
required

Authorization method required to allow user to access the api endpoints.

Query Parameters

page
string

Page number "offset"

Example:

"0"

pageSize
string

Page size

useScroll
boolean
default:false

Whether to use scroll API for pagination

scrollBatchSize
number
default:100

Batch size for scroll requests

hasMore
boolean

Whether there are more results available (only when useScroll=true)

protocol
string

Protocol type filter

Example:

"IBC"

address
string

Address filter

Example:

"cosmos1..."

senderNetwork
string

Sender network filter

Example:

"cosmoshub-4"

receiverNetwork
string

Receiver network filter

Example:

"osmosis-1"

asset
string

Asset filter

Example:

"uatom"

startTime
string

Start time filter (ISO 8601 string)

Example:

"2023-01-01T00:00:00Z"

endTime
string

End time filter (ISO 8601 string)

Example:

"2023-12-31T23:59:59Z"

direction
enum<string>

Direction filter (incoming/outgoing)

Available options:
incoming,
outgoing
Example:

"incoming"

Body

application/json
scrollId
string

Scroll ID for pagination (only when useScroll=true)

Response

List of cross-chain transactions

transactions
object[]
required

Array of cross-chain transactions

scrollId
string

Scroll ID for pagination (only when useScroll=true)

hasMore
boolean

Whether there are more results available (only when useScroll=true)

count
number

Total count of transactions