hmy_getCXReceiptByHash

hmy_getCXReceiptByHash

API v1

Parameters

  1. String - transactions hash for cx receipt

Returns

  • blockHash - String - block hash

  • blockNumber - Number - block number

  • hash - String - transaction hash

  • from - String - from one address

  • to - String - to one address

  • shardID - Number - shard id from where transaction sent

  • toShardID - Number - shard id to where transaction sent

  • value - Number - transaction sent value

Sample Curl Request

curl --location --request POST 'https://api.s0.b.hmny.io/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "hmy_getCXReceiptByHash",
    "params": [
        "0x6b106dc5619c86b6c0cb64b17e5c464e8008e08cf0f1bb0e3fa2657fb42daade"
    ],
    "id": 1
}'

Sample Curl Response

API v2

Parameters

  1. String - transactions hash for cx receipt

Returns

  • blockHash - String - block hash

  • blockNumber - Number - block number

  • hash - String - transaction hash

  • from - String - from one address

  • to - String - to one address

  • shardID - Number - shard id from where transaction sent

  • toShardID - Number - shard id to where transaction sent

  • value - Number - transaction sent value

Sample Curl Request

Sample Curl Response

Last updated

Was this helpful?