Last updated 9 months ago
Was this helpful?
Retrieves receipt information based on the provided chain name and hash.
/get_receipt
The hash of the transfer transaction that user send to from_chain.
curl -L \ --request POST \ --url '/get_receipt' \ --header 'Content-Type: application/json' \ --data '{ "from_chain_hash": "0x00001fd96f18783cd72f2f3682a9cfda652b5eb4258cf5f48d5453df091e003d" }'
{ "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" } }