Transactions

A transaction is a fundamental data structure for publishing a new program or a set of state transitions on the ledger.

Types of Transactions

Deploy Transaction

The deployment transaction publishes an Beo program to the network.

Parameter
Type
Description

type

string

The type of transaction (deploy)

id

string

The ID of transaction, computed via the Merkle Tree Digest of the transition IDs

owner

object

The owner address and signature

deployment

object

The deployment transaction info

fee

object

The deployment transaction fee

Deployment Info

Parameter
Type
Description

global_state_root

u16

The global state root of the merkle tree

transitions

array

The transitions

Execute Transaction

The execution transaction represents a call to an Beo program function.

Parameter
Type
Description

type

string

The type of transaction (execute)

id

string

The ID of transaction, computed via the Merkle Tree Digest of the transition IDs

execution

object

The execution transaction info

fee (optional)

object

The optional execution transaction fee

Execution Info

Parameter
Type
Description

global_state_root

u16

The global state root of the merkle tree

transitions

array

The transitions

Fee Transaction

The fee transaction represents a fee paid to the network, used for rejected transactions

Parameter
Type
Description

type

string

The type of transaction (fee)

id

string

The ID of transaction, computed via the Merkle Tree Digest of the transition IDs

fee

object

The rejected transaction fee

Transaction Structure

Parameter
Type
Description

type

string

The type of transaction

id

string

The ID of transaction (at1 prefix)

deployment

object

The deployment transaction info

additional_fee

object

The additional fee for the transaction

Last updated