Transaction Broadcasting
Overview
Single Transaction
ws.send(JSON.stringify({
action: 'broadcast',
requestId: 'tx-001',
tx: {
nonce: 42,
value: '1000000000000000000',
receiver: 'erd1qqqqqqqqqqqqqpgq...',
sender: 'erd1abc...',
gasPrice: 1000000000,
gasLimit: 50000000,
data: 'c3dhcEV4YWN0QW1vdW50SW4=',
chainID: '1',
version: 2,
signature: 'a1b2c3d4...'
}
}));Batch Transactions
Transaction Object
Field
Type
Required
Description
Response
Success Response
Partial Success (Batch)
Complete Failure
Response Fields
Field
Type
Description
Example: Complete Integration
Batch Processing Example
Error Reasons
Reason
Description
Broadcast vs Relay
Feature
Broadcast
Relay
Best Practices
Related Topics
Last updated
Was this helpful?