zec

Zcash (ZEC)

Method: POST listtransactions

dropdown

POST listtransactions

Method not allowed

Returns up to 'count' most recent transactions skipping the first 'from' transactions for account 'account'.

Parameters

account - string

Optional.

DEPRECATED. The account name. Should be "*".

count - numeric

Optional, default=10

The number of transactions to return.

from - numeric

Optional, default=0

The number of transactions to skip.

includeWatchonly - boolean

Optional, default=false

Whether to include watchonly addresses.

Request

curl --location --request POST 'https://zec.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "listtransactions",
"params": [null, null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}