NearApi.Action (near_api v0.1.6)

NEAR Action.

Link to this section Summary

Types

t()

All the details needed to encode an instruction.

Functions

List of all available Actions for NEAR Transaction, indexed Please do not change the indexes or swap places - these indexes are hardcoded in the NEAR blockchain and very important for the Borsh serialization

Link to this section Types

Specs

t() :: %NearApi.Action{
  accounts: [Account.t()],
  data: binary() | nil,
  program: NearApi.key() | nil
}

All the details needed to encode an instruction.

Link to this section Functions

List of all available Actions for NEAR Transaction, indexed Please do not change the indexes or swap places - these indexes are hardcoded in the NEAR blockchain and very important for the Borsh serialization