ltc

Litecoin (LTC)

Method: POST createrawtransaction

dropdown

POST createrawtransaction

Creates a raw transaction spending given inputs.

Parameters

inputs - json array, required

A json array of json objects

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
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

2019 - 2021 GetBlock