synchronous
submit

Description

Send a request to submit a prepared tx_blob to the xrp ledger.


Usage

  sdk.sync.submit(address: string, txblob: string, opts?: SignOpts)

Parameters

address: string;
txblob: string;
opts?: { description?: string }

See here (opens in a new tab) for SignOpts typing.


Response

id: string;

Example

let id = sdk.sync.submit(
  'rUmoi1vt8apeKsqFYKMRSiMvWixFDMC8Jz', //address
  '12000722000800002...B58D09F27045C46' // hex blob
);
 
console.log(id);
// eb29dcab-2bbd-4f4f-ad46-fc33359c6453