GET
/
api
/
OrderEvents
/
solanaDepositsAndWithdrawals
Returns information about Solana transactions in a given block range
curl --request GET \
  --url https://dln-api.debridge.finance/api/OrderEvents/solanaDepositsAndWithdrawals
[
  {
    "blockNumber": 123,
    "blockTimestamp": 123,
    "txHash": "<string>",
    "from": "<string>",
    "to": "<string>",
    "token": "<string>",
    "amount": "<string>",
    "isDeposit": true,
    "giveAmountUSD": 123
  }
]

Query Parameters

fromBlock
integer

first block to get events from

toBlock
integer

last block to get events from

Response

OK

blockNumber
integer

Number of the block the event was emitted it

blockTimestamp
integer

Timestamp of the block the event was emitted it

txHash
string | null

Hash of the transaction

from
string | null

Maker's address

to
string | null

Receiver's address

token
string | null

GiveToken address

amount
string | null

Give amount

isDeposit
boolean

True if current event is unlock event, false if it is unlock event

giveAmountUSD
number | null

USD equivalent for GiveAmount