Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

network
enum<string>
default:mainnet
required

The network

Available options:
mainnet,
hoodi

Body

application/json
validators
object[]
required
transaction_type
integer
default:0

Type of the returned transaction. 0 for legacy transactions. 2 for EIP-1559 transactions.

Example:

2

Response

OK

The transaction that will need to be signed to be broadcasted to the Ethereum network.

data
file

The data that will be sent to the contract.

gas
integer

The amount of gas that will be used to execute the transaction.

Example:

87936

gas_price
string

The price of gas in Gwei.

Example:

"27"

nonce
integer

The nonce of the transaction. This is used to prevent replay attacks.

Example:

35

to
file

The address of the contract that will be called.

transaction_serialized
file

The canonical RLP encoding of the transaction

value
string

The amount of Ether that will be sent to the contract.

Example:

"32000000000000000000"