Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 915 Bytes

hmy_getpendingcxreceipts.md

File metadata and controls

51 lines (36 loc) · 915 Bytes
description
hmy_getPendingCXReceipts

hmy_getPendingCXReceipts

API v1

Returns

Array of pending cx receipts in tx pool. See hmy_getCXReceiptByHash for format

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_getPendingCXReceipts",
    "params": [],
    "id": 1
}'

Sample Curl Response

See hmy_getCXReceiptByHash response

API v2

Returns

Array of pending cx receipts in tx pool. See hmy_getCXReceiptByHash for format

Sample Curl Request

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

Sample Curl Response

See hmy_getCXReceiptByHash response