post https://api-sdk.lmnl.dev/api/wallet/get-transfer
This API is a request to retrieve details of a transaction associated with a wallet. If the transaction type is send
, you can retrieve transaction details using either sequenceId
or txnId
. If the transaction type is receive
, you can retrieve transaction details using only txnId
.
API use cases
Retrieve a transaction using sequenceId
Use the following request body to retrieve the outgoing (send) transaction details using sequenceId
.
{
"wallet":{
"coin": "eth",
"walletId":3520
},
"sequenceId":"93544241-c00e-c754-3bd0-494567a67ee8"
}
Retrieve a transaction using txId
Use the following request body to retrieve any of the outgoing (send) and incoming (receive) transaction details, using txId
.
{
"wallet":{
"coin": "eth",
"walletId":1
},
"txId":"0x992ea09580d5c3c18cde5092dc96c9564c4945b42dafc1eba3f67b72b99f2efb"
}