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

ltc
Litecoin (LTC)

Method: POST createrawtransaction

dropdown

方法 RPC createrawtransaction 例如 Litecoin (LTC)

POST createrawtransaction

在给定输入的情况下创建原始交易支出。

Parameters

inputs - json 数组,必需

json 对象的 json 数组

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": "createrawtransaction",
"params": [[{"txid": "myid", "vout": 0}]],
"id": "getblock.io"}'


Response

null