⚡ We welcome businesses to test our enterprise-grade service

Method: POST les_addBalance

dropdown

方法 GETH RPC les_addBalance 例如 Ethereum (ETH)

POST les_addBalance

Method not allowed

将签名值添加到指定客户端的令牌余额中,并更新其元标签。 余额不能低于零或超过2 ^^ 63-1。 返回更新之前和之后的余额值。 元标记可用于存储序列号或引用最后处理的传入付款,令牌到期信息,其他货币的余额或任何特定应用程序的其他信息。

Parameters

id - 数字

没有任何

value - INT64

没有任何

meta - 细绳

没有任何

Request

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


Response

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