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

coins coins coins coins
Groestlcoin (GRS)

Method: POST finalizepsbt


# finalizepsbt example for Groestlcoin (GRS)

POST finalizepsbt

Finalize the inputs of a PSBT. If the transaction is fully signed, it will produce a network serialized transaction which can be broadcast with sendrawtransaction. Otherwise a PSBT will be created which has the final_scriptSig and final_scriptWitness fields filled for inputs that are complete.

Implements the Finalizer and Extractor roles.


psbt - string, required

A base64 string of a PSBT

extract - boolean, optional, default=true

If true and the transaction is complete, extract and return the complete transaction in normal network serialization instead of the PSBT.


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


    "error": null,
    "id": "getblock.io",
    "result": null