Avalanche - X
/getusertransactions
Get the historical transaction details for a specific user address.
GET
https://historicallp.api.expand.network/chain/getusertransactions
Query Parameters
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
chainId* | String | Refer to the Chain ID page for details. |
chainSymbol | String | Refer to the Chain ID page for details. |
address* | String | Comma-separated value of user addresses. |
endBlock | String | Last block of the range. |
startBlock | String | Starting block of the range. |
pageToken | String | The next page's token. Can be found at the end of the response. |
sortOrder | String | The transaction sorting order. asc or desc. |
https://historicallp.api.expand.network/chain/getusertransactions?chainSymbol=X-AVAX&address=avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy
{
"status": 200,
"msg": "success",
"data": {
"transactions": [
{
"txHash": "2n83BAtdJtoy879aXZUy7eaeHqzj3xnVqiqUaHwGgBszchtRaz",
"chainFormat": "linear",
"blockHash": "hLFoBAsNpSvURSzgrd2DoB2f5Zr9zRt9jtfPcDtu7Hr8esRr8",
"txType": "ExportTx",
"timestamp": 1701683089,
"sourceChain": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
"destinationChain": "11111111111111111111111111111111LpoYY",
"memo": "0x",
"consumedUtxos": [
{
"addresses": [
"avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
],
"utxoId": "2dKqf9Hu82YryDU92qztDpQgxhkMfZBXEzBifMwxUsirce8LC4",
"asset": {
"assetId": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
"name": "Avalanche",
"symbol": "AVAX",
"denomination": 9,
"type": "secp256k1",
"amount": "959500419"
},
"utxoType": "transfer",
"outputIndex": "1",
"timestamp": 1701683089,
"creationTxHash": "xu3EKKVrFsNZBZNM3XQHwy5Hk9w8PYtuxuvmgdverGzAMXVSK",
"consumingTxHash": "2n83BAtdJtoy879aXZUy7eaeHqzj3xnVqiqUaHwGgBszchtRaz",
"consumingTxTimestamp": 1701683089,
"locktime": 0,
"threshold": 1,
"createdOnChainId": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
"consumedOnChainId": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
"credentials": [
{
"publicKey": "A6rT2g4cHByzSOLz+Mrx+ONJCEbmfioBs8wmia9yy/yQ",
"signature": "gR36XcB+V4tglUGlw5gdm7Ega14VPDZW29lSyo6HZNV9A8CaOTVxhz8gIDOGS+dsFnZ0Tc/ZMmMTxzjUrwKbjQE"
}
]
}
],
"emittedUtxos": [
{
"addresses": [
"avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
],
"utxoId": "HXQN6KqpXerAEtYu2yThUcyRcaYcLfRgemftQYZk9ntGUfKEm",
"asset": {
"assetId": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
"name": "Avalanche",
"symbol": "AVAX",
"denomination": 9,
"type": "secp256k1",
"amount": "958500419"
},
"utxoType": "transfer",
"outputIndex": "0",
"timestamp": 1701683089,
"creationTxHash": "2n83BAtdJtoy879aXZUy7eaeHqzj3xnVqiqUaHwGgBszchtRaz",
"consumingTxHash": "sq17XDAKyUo7PbCXgRLjG1bntT5fnBZResbDbpSTkKdn1juCf",
"consumingTxTimestamp": 1701683096,
"locktime": 0,
"threshold": 1,
"createdOnChainId": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
"consumedOnChainId": "11111111111111111111111111111111LpoYY",
"credentials": [
{
"publicKey": "A6rT2g4cHByzSOLz+Mrx+ONJCEbmfioBs8wmia9yy/yQ",
"signature": "C7A8FaG+WLn+f6aMUdhzEcQHi8fFiBF7+fOw/PDwcOsvInV9DlFuUEkCkuUDSFBJjZQlmHqWjEHuNEv8HczMNQA"
}
]
}
],
"amountUnlocked": [
{
"assetId": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
"name": "Avalanche",
"symbol": "AVAX",
"denomination": 9,
"type": "secp256k1",
"amount": "959500419"
}
],
"amountCreated": [
{
"assetId": "FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z",
"name": "Avalanche",
"symbol": "AVAX",
"denomination": 9,
"type": "secp256k1",
"amount": "958500419"
}
],
"blockNumber": 201271
}
],
"nextPageToken": "a3fb08da-29df-460c-9125-f574364cf298"
}
}
Last updated