Last updated 11 months ago
Was this helpful?
Retrieves receipt information based on the provided chain name and hash.
The hash of the transfer transaction that user send to from_chain.
0x00001fd96f18783cd72f2f3682a9cfda652b5eb4258cf5f48d5453df091e003d
POST /get_receipt HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 88 { "from_chain_hash": "0x00001fd96f18783cd72f2f3682a9cfda652b5eb4258cf5f48d5453df091e003d" }
Successful response
{ "data": { "from_chain_name": "BaseMainnet", "from_chain_token_address": "0xcc63950c44862d6970", "to_chain_hash": "0xcc63950c44862d697074dd944f0d74c27280d8880be1f248b9ceb61efd0e958d", "to_chain_name": "ScrollMainnet", "to_chain_token_address": "0x2d6970cc63950c4486", "token_name": "USDC", "user_receive_value": { "decimals": 18, "raw_value": "1000000", "ui_value": "1.2" }, "user_send_value": { "decimals": 18, "raw_value": "1000000", "ui_value": "1.2" } }, "status": { "code": 1, "message": "text" } }