GET Message History by Source Address
GET /api/queryHistoryByChainIdAddress
Complete Query Example
Request Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
page | query | integer | no | Integer of page number, default is 1. |
size | query | integer | no | Integer of size number, default is 10. |
chainId | query | string | yes | Source Chain id. |
address | query | string | yes | Source Address. |
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | Success | Inline |
Responses Data
Name | Type | Description |
---|---|---|
list | Array | Result cross info history list. |
total | Integer | Total number of cross history. |
Responses Params
Name | Type | Description |
---|---|---|
id | Integer | Cross id. |
sourceAddress | String | Source address. |
sourceHash | String | Source transfer hash. |
sourceHeight | BigInteger | Source chain block height. |
sourceTimestamp | String | Transfer timestamp |
sourceChainInfo | Object | Source chain info. |
- chainId | String | Chain id. |
- chainName | String | Chain name. |
- scanUrl | String | Scan url. |
- chainImg | String | Chain icon url. |
relayHash | String | Relay transfer hash. |
relayHeight | BigInteger | Relay chain block height. |
relayChainInfo | Object | Relay chain info. |
- chainId | String | Chain id. |
- chainName | String | Chain name. |
- scanUrl | String | Scan url. |
- chainImg | String | Chain icon url. |
destinationHash | String | Destination chain transfer hash. |
destinationHeight | BigInteger | Destination chain block height. |
destinationChainInfo | Object | Destination chain info. |
- chainId | String | Chain id. |
- chainName | String | Chain name. |
- scanUrl | String | Scan url. |
- chainImg | String | Chain icon url. |
state | Integer | Cross transfer state, 0: crossing 1 completed 2 relaying 3 relay completed |
Response Examples
200 Response
Last updated