diff --git a/src/RPC/Wallet.ts b/src/RPC/Wallet.ts index c8ac446..b5f46df 100644 --- a/src/RPC/Wallet.ts +++ b/src/RPC/Wallet.ts @@ -701,4 +701,15 @@ export class Wallet extends RPCBase { comment, ); } + + /** + * Submits raw transaction (serialized, hex-encoded) to local node and network + * + * @param {string} rawTransaction - raw transaction (serialized, hex-encoded) + * @returns {Promise} + * @memberof Wallet + */ + public async sendRawTransaction(rawTransaction: string): Promise { + return this.call('sendrawtransaction', rawTransaction); + } }