neo

NEO (NEO)

Method: POST sendfrom

dropdown

POST sendfrom

Method not allowed

Transfer from the specified address to the destination address.

Before you can invoke this method you must call the RPC method openwallet to open the wallet first.

Parameters

asset_id - string

Asset ID(asset identifier), the script hash of nep-17 contract.

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"
}