📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

doge
DogeCoin (DOGE)

Method: POST listtransactions

dropdown

方法 RPC listtransactions 例如 DogeCoin (DOGE)

POST listtransactions

Method not allowed

返回帐户的最后交易列表。 每个事务用TransactionInfo对象表示。

Parameters

account - 细绳

选修的。

帐户以列出交易。 如果没有,则从所有帐户返回交易。

count - 整数

返回的交易数量。

from_ - 整数

跳过第一个[From_]交易。

address - 细绳

接收地址要考虑

Request

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


Response

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