⚡ We welcome businesses to test our enterprise-grade service

doge
DogeCoin (DOGE)

Method: POST sendfrom

dropdown

方法 RPC sendfrom 例如 DogeCoin (DOGE)

POST sendfrom

Method not allowed

将帐户余额的金额发送到Dogecoin地址。

如果帐户余额中有MINCONF确认的Dogecoins的数量少于Dogecoins(除非帐户为空字符串命名为默认帐户;否则其行为类似于SendToaddress方法)。

返回成功交易ID。

Parameters

fromaccount - 细绳

来源帐户名称。

todogecoinaddress - 细绳

Dogecoin地址发送到。

amount - 漂浮

发送的金额(浮动,舍入到最接近的0.01)。

minconf - 整数

转移余额所需的最小确认数量。

Comment - 细绳

注释以添加到交易日志中。

Comment_to - 细绳

评论待办事项。

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": "sendfrom",
"params": [null, null, null, null, null, null],
"id": "getblock.io"}'


Response

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