Pre-General Availability: 2026-02-23

Sign and Submit a Transaction

post

/v1/besu/signTransaction

Signs and submits a transaction to the configured Besu node.

Supports:

  • Eth transfer between accounts
  • Contract deployment
  • Contract execution, with support for encoding for functionSignature/functionArgs

Request

Header Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Input for signing and submitting a transaction
Show Source
  • abi
    Contract ABI; required if constructorArgs provided
  • Contract bytecode (0x-hex); required for deployment
  • constructorArgs
    Constructor arguments as strings (optional)
  • contractAbi
    Optional ABI used to infer parameter types when functionSignature omits types (name-only). For overloaded functions, the entry with matching parameter count is selected. If omitted and toAddress is provided, the gateway may resolve the ABI by address when available.
  • Hex calldata; for contract deployment you may provide full bytecode+constructor params here and omit bytecode/abi
  • DecodeOptions
    Selective decode options; flags default to false when omitted.
  • Amount in wei as string (for example, "10000000000000000")
  • Sender address to sign with. The gateway signs directly via wallets/{address}/sign. Must belong to the current user.
  • functionArgs
    Function arguments as strings aligned with the parameter order. Scalars: address, bool, string, int/uint (any width), bytes/bytesN (1..32). Arrays (1-D) and tuples are supported by passing JSON strings: - Dynamic/fixed arrays: for example, '["0xabc...", "0xdef..."]' or '["1","2","3"]' - Tuples (and nested): for example, '["0xabc...", "42"]' For function name without types, contractAbi is used to infer param types (overloads resolved by arity).
  • Function selector for ABI encoding when data is absent. You may provide: - Fully-specified signature (for example, "approve(address,uint256)"), or - Function name only (for example, "approve"); parameter types are inferred from the provided ABI (overloads resolved by argument count). If contractAbi is not supplied and toAddress is provided, the gateway may resolve the ABI by address when available.
  • EIP-1559 max fee per gas
  • Gas limit (required for contract deployment; optional otherwise)
  • Legacy only; if omitted, fetched via eth_gasPrice
  • EIP-1559 priority fee per gas
  • Nonce; if omitted, fetched via eth_getTransactionCount (pending)
  • Default Value: 60
    Max number of receipt polls (default 60)
  • Default Value: 1500
    Milliseconds to wait between receipt polls (default 1500)
  • storageLayout
    Optional Solidity compiler storage layout JSON
  • Recipient address (omit for contract deployment)
  • Default Value: false
    Include eth_getTransactionByHash result in response
  • Default Value: 2
    Allowed Values: [ 0, 2 ]
    Transaction type (0=legacy, 2=EIP-1559)
  • Default Value: true
    If true, gateway polls for transaction receipt before responding (default: true)
Nested Schema : abi
Type: array
Contract ABI; required if constructorArgs provided
Show Source
Nested Schema : constructorArgs
Type: array
Constructor arguments as strings (optional)
Show Source
Nested Schema : contractAbi
Type: array
Optional ABI used to infer parameter types when functionSignature omits types (name-only). For overloaded functions, the entry with matching parameter count is selected. If omitted and toAddress is provided, the gateway may resolve the ABI by address when available.
Show Source
Nested Schema : DecodeOptions
Type: object
Selective decode options; flags default to false when omitted.
Show Source
Nested Schema : functionArgs
Type: array
Function arguments as strings aligned with the parameter order. Scalars: address, bool, string, int/uint (any width), bytes/bytesN (1..32). Arrays (1-D) and tuples are supported by passing JSON strings: - Dynamic/fixed arrays: for example, '["0xabc...", "0xdef..."]' or '["1","2","3"]' - Tuples (and nested): for example, '["0xabc...", "42"]' For function name without types, contractAbi is used to infer param types (overloads resolved by arity).
Show Source
Nested Schema : storageLayout
Type: object
Optional Solidity compiler storage layout JSON
Nested Schema : items
Type: object
Nested Schema : items
Type: object
Examples

Back to Top

Response

Supported Media Types

200 Response

Transaction signed and submitted
Body ()
Root Schema : SignTransactionResponse
Type: object
Show Source
Nested Schema : DecodedResult
Type: object
Aggregate decoded information for the transaction or call
Show Source
Nested Schema : transactionByHash
Type: object
Additional Properties Allowed: true
Transaction object from eth_getTransactionByHash; present when requested and available
Nested Schema : transactionReceipt
Type: object
Transaction receipt object (may be null if not yet mined)
Nested Schema : DecodedError
Type: object
Show Source
Nested Schema : events
Type: array
Show Source
Nested Schema : DecodedFunctionInfo
Type: object
Show Source
Nested Schema : DecodedInput
Type: object
Decoded function input arguments
Show Source
Nested Schema : DecodedMeta
Type: object
Show Source
Nested Schema : DecodedOutput
Type: object
Decoded function return values
Show Source
Nested Schema : customError
Type: object
Decoded custom error as defined in the contract ABI
Show Source
Nested Schema : standardError
Type: object
Decoded standard Error(string) revert
Show Source
Nested Schema : standardPanic
Type: object
Decoded Panic(uint256) revert
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : DecodedArgument
Type: object
Show Source
  • Only for event parameters
  • May be empty if unknown
  • Canonical ABI type (for example, uint256, address, (uint256,address), uint256[])
  • Normalized JSON value (address lowercase hex, bigints as decimal strings, bytes as 0x-hex)
Nested Schema : DecodedEvent
Type: object
Show Source
Nested Schema : args
Type: array
Decoded event arguments (indexed indicates topic-encoded parameter)
Show Source
Nested Schema : topics
Type: array
Log topics as 0x-hex values
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : warnings
Type: array
Non-fatal issues encountered while attempting to decode
Show Source
Nested Schema : returns
Type: array
Show Source
Examples

400 Response

Validation error or invalid input
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Nested Schema : DecodedError
Type: object
Show Source
Nested Schema : customError
Type: object
Decoded custom error as defined in the contract ABI
Show Source
Nested Schema : standardError
Type: object
Decoded standard Error(string) revert
Show Source
Nested Schema : standardPanic
Type: object
Decoded Panic(uint256) revert
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : DecodedArgument
Type: object
Show Source
  • Only for event parameters
  • May be empty if unknown
  • Canonical ABI type (for example, uint256, address, (uint256,address), uint256[])
  • Normalized JSON value (address lowercase hex, bigints as decimal strings, bytes as 0x-hex)

500 Response

Internal error (for example, failed to estimate gasLimit)
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Nested Schema : DecodedError
Type: object
Show Source
Nested Schema : customError
Type: object
Decoded custom error as defined in the contract ABI
Show Source
Nested Schema : standardError
Type: object
Decoded standard Error(string) revert
Show Source
Nested Schema : standardPanic
Type: object
Decoded Panic(uint256) revert
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : DecodedArgument
Type: object
Show Source
  • Only for event parameters
  • May be empty if unknown
  • Canonical ABI type (for example, uint256, address, (uint256,address), uint256[])
  • Normalized JSON value (address lowercase hex, bigints as decimal strings, bytes as 0x-hex)

502 Response

Upstream Besu error
Body ()
Root Schema : ErrorResponse
Type: object
Show Source
Nested Schema : DecodedError
Type: object
Show Source
Nested Schema : customError
Type: object
Decoded custom error as defined in the contract ABI
Show Source
Nested Schema : standardError
Type: object
Decoded standard Error(string) revert
Show Source
Nested Schema : standardPanic
Type: object
Decoded Panic(uint256) revert
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : DecodedArgument
Type: object
Show Source
  • Only for event parameters
  • May be empty if unknown
  • Canonical ABI type (for example, uint256, address, (uint256,address), uint256[])
  • Normalized JSON value (address lowercase hex, bigints as decimal strings, bytes as 0x-hex)
Back to Top