Skip to main content

Setup transaction

GET 

/v1/transactions/setup

Setup transaction

The setup transaction endpoint allows users to initiate a transaction setup process on a specified Ethereum network. It requires parameters such as network_id, from_account_id, to_address, tx_type, value, token_id, token_address, gas_limit, and transaction_type. This endpoint validates the user's permissions, checks if the account exists, and prepares a transaction request based on the provided details. Upon successful validation and preparation, it returns a serialized transaction request object that includes transaction details like sender (from), recipient (to), nonce, gas price, gas limit, data payload, value, chain ID, and the number of approvers needed. Errors may occur due to invalid account access, missing permissions, or internal server issues.

Request

Query Parameters

    network_id int32required

    Network id

    from_account_id stringrequired

    From account id

    to_address string

    To address

    tx_type string

    Transaction type

    value string

    Value

    token_id string

    Token id

    token_address string

    Token address

    gas_limit string

    Gas limit

    transaction_type stringrequired

    Transaction type

Responses

Transaction setup

Schema
    approversNeeded int32nullable
    chainId int32required
    data stringnullable
    from stringrequired
    gasLimit stringrequired
    gasPrice stringrequired
    nonce int64[]required
    to stringrequired
    value stringrequired
Loading...