⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
ltc
Litecoin (LTC)

Method: POST decoderawtransaction

dropdown

# decoderawtransaction 例如 Litecoin (LTC)

POST decoderawtransaction

为原始交易生成人类可读的 JSON 对象。

Parameters

hexstring - 字符串,必填

交易十六进制字符串

Request

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


Response

null