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

Method: POST sendfrom

dropdown

方法 RPC sendfrom 例如 NEO

POST sendfrom

Method not allowed

从指定地址转移到目标地址。

在调用此方法之前,必须调用RPC方法OpenWallet首先打开钱包。

Parameters

asset_id - 细绳

资产ID(资产标识符),NEP-17合同的脚本哈希。

Request

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


Response

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