Skip to main content

Transactions

A transaction is a fundamental data structure for publishing a state transition on the ledger.

Types of Transactions

Deploy Transaction

The transaction deployment publishes an Aleo program to the network.

Deploy Transaction

ParameterTypeDescription
typestringThe type of transaction
idstringThe ID of transaction
deploymentobjectThe deployment transaction info
additional_feeobjectThe additional fee for the transaction

Deployment Info

ParameterTypeDescription
editionu16The edition
programobjectThe program
verifying_keysmappingThe mapping of function names to their verifying key and certificate

Execute Transaction

The transaction execution represents a call to an Aleo program.

Execute Transaction

ParameterTypeDescription
typestringThe type of transaction
idstringThe ID of transaction
executionobjectThe execution transaction info
additional_feeobjectThe additional fee for the transaction

Execution Info

ParameterTypeDescription
editionu16The edition
transitionsarrayThe transitions