nooschain / tx-gossip/peer-transaction-client / sendTransactionToPeer
Function: sendTransactionToPeer()
sendTransactionToPeer(
args):Promise<PeerTransactionResponse>
Defined in: tx-gossip/peer-transaction-client.ts:80
Sends one signed transaction to a trusted peer's gossip endpoint.
The request body is redacted before transmission and the remote response is shape-checked so malformed peers are surfaced as transport failures.
Parameters
args
nodeAuth?
peer
protocolVersion?
number
timeoutMs?
number
transaction
Returns
Promise<PeerTransactionResponse>