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

/

BNB Smart Chain (BSC)

bsc
BNB Smart Chain (BSC)

Method: POST db_putString

dropdown

方法 RPC db_putString 例如 BNB Smart Chain (BSC)

POST db_putString

方法不允许

在本地数据库中存储一个字符串。

请注意,此功能已弃用,将来会被删除。

Parameters

String -

数据库名称

String -

键名

String -

要存储的字符串

Request

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


Response

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