submit_multisigned - XRPL

Example code for the submit_multisigned JSON RPC method. Complete guide to using submit_multisigned JSON-RPC in the GetBlock Web3 documentation.

This method applies a multi-signed transaction and sends it to the network.

Parameters

Parameter
Type
Required
Description

tx_json

object

Yes

Multi-signed transaction JSON

fail_hard

boolean

No

Fail if local error

Request Example

curl
curl --location --request POST 'https://xrp.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "submit_multisigned",
    "params": [{
        "tx_json": {
            "Account": "rN7n7otQDd6FczFgLdSqtcsAUxDkw6fzRH",
            "TransactionType": "Payment",
            "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
            "Amount": "1000000",
            "Fee": "30",
            "Signers": []
        }
    }],
    "id": "getblock.io"
}'

Response Example

Response Parameters

Field
Type
Description

engine_result

string

Transaction result

engine_result_code

integer

Result code

tx_blob

string

Transaction hex

tx_json

object

Transaction JSON

signer

array

Signer list

Use Cases

  • Multi-signature accounts

  • Shared custody

  • Organizational accounts

Error Handling

Error Code
Description

temINVALID

Invalid transaction

tefNOT_MULTI_SIGNING

Not multi-sig enabled

SDK Integration

Last updated

Was this helpful?