GET Message Info by Id
GET /api/queryCrossInfoById
Complete Query Example
/api/queryCrossInfoById?id=322111
Request Params
Name | Location | Type | Required | Description |
---|---|---|---|---|
id | query | integer | yes | Cross id. |
Responses
HTTP Status Code | Meaning | Description | Data schema |
---|---|---|---|
200 | Success | Inline |
Responses Data
Name | Type | Description |
---|---|---|
sourceInfo | object | Source chain info. |
destinationInfo | object | Destination chain info. |
relyInfo | object | Relay chain info. |
state | integer | Cross transfer state, 0: crossing 1 completed 2 relaying 3 relay completed. |
Responses Params
Name | Type | Description |
---|---|---|
sourceInfo | object | Source chain info. |
- address | String | Source address. |
- hash | String | Source transfer hash. |
- block | BigInteger | Source chain block height. |
- timestamp | String | Transfer timestamp |
- chainInfo | Object | Source chain info. |
-- chainId | String | Chain id. |
-- chainName | String | Chain name. |
-- scanUrl | String | Scan url. |
-- chainImg | String | Chain icon url. |
-- chainName | String | Chain name. |
relayInfo | object | Relay chain info. |
- address | String | Source address. |
- hash | String | Source transfer hash. |
- block | BigInteger | Source chain block height. |
- timestamp | String | Transfer timestamp |
- chainInfo | Object | Source chain info. |
-- chainId | String | Chain id. |
-- chainName | String | Chain name. |
-- scanUrl | String | Scan url. |
-- chainImg | String | Chain icon url. |
-- chainName | String | Chain name. |
destinationInfo | object | Destination chain info. |
- address | String | Source address. |
- hash | String | Source transfer hash. |
- block | BigInteger | Source chain block height. |
- timestamp | String | Transfer timestamp |
- chainInfo | Object | Source chain info. |
-- chainId | String | Chain id. |
-- chainName | String | Chain name. |
-- scanUrl | String | Scan url. |
-- chainImg | String | Chain icon url. |
-- chainName | String | Chain name. |
state | Integer | Cross transfer state, 0: crossing 1 completed 2 relaying 3 relay completed |
Response Examples
200 Response
Last updated