TWAZI

Sign And Send Tx

Signs and broadcasts blockchain transactions using a configured wallet.

Inputs

  • Transaction Data required: Raw transaction data to sign
  • Chain ID required: Network chain ID
  • Gas Price: Custom gas price in wei (optional)
  • Priority Fee: Priority fee for EIP-1559 transactions

Example

{
  "Transaction Data": {
    "to": "0x1234567890abcdef",
    "value": "1000000000000000000",
    "data": "0x",
    "nonce": 5
  },
  "Chain ID": 1,
  "Gas Price": "50000000000",
  "Priority Fee": "2000000000"
}

Outputs

  • Transaction Hash: Hash of the broadcast transaction
  • Block Number: Block number where tx was included
  • Receipt: Full transaction receipt after confirmation
Sign and send transaction workflow example

On this page

Edit on GitHub