protx_list {disallowed} - Dash
Example code for the protx_list {disallowed} json-rpc method. Сomplete guide on how to use protx_list {disallowed} json-rpc in GetBlock.io Web3 documentation.
Parameters
submethod
- string
None
type
- string
Optional.
The type of ProTxs to list:
- registered - all ProTxs registered at height
- valid - all active/valid ProTxs at height
- wallet - all ProTxs found in the current wallet
Height defaults to current chain-tip if one is not provided.
detailed
- bool
Optional.
If set to false (default), only ProTx hashes are returned. If set to true, a detailed list of ProTx details is returned.
None
- None
Optional.
List ProTxs from this height (default: current chain tip).
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "protx",
"params": ["list", null, null, null],
"id": "getblock.io"}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Last updated