/v1/transactions

Submits a transaction to the Aptos network.

Request

This endpoint expects an object.
senderstringRequiredformat: "hex"
A hex encoded 32 byte Aptos account address.
sequence_numberstringRequiredformat: "uint64"

A string containing a 64-bit unsigned integer.

max_gas_amountstringRequiredformat: "uint64"

A string containing a 64-bit unsigned integer.

gas_unit_pricestringRequiredformat: "uint64"

A string containing a 64-bit unsigned integer.

expiration_timestamp_secsstringRequiredformat: "uint64"

A string containing a 64-bit unsigned integer.

payloadobjectRequired
An enum of the possible transaction payloads.
signatureobjectRequired
An enum representing the different transaction signatures available.
replay_protection_noncestringOptionalformat: "uint64"

A string containing a 64-bit unsigned integer for replay protection.

Response

Transaction accepted and waiting in mempool.
hashstring
Transaction hash.
senderstringformat: "hex"
A hex encoded 32 byte Aptos account address.
sequence_numberstringformat: "uint64"

A string containing a 64-bit unsigned integer.

max_gas_amountstringformat: "uint64"

A string containing a 64-bit unsigned integer.

gas_unit_pricestringformat: "uint64"

A string containing a 64-bit unsigned integer.

expiration_timestamp_secsstringformat: "uint64"

A string containing a 64-bit unsigned integer.

payloadobject
An enum of the possible transaction payloads.
signatureobject or null
An enum representing the different transaction signatures available.
replay_protection_noncestring or nullformat: "uint64"

A string containing a 64-bit unsigned integer.

Errors