NearApi.Action (near_api v0.1.7)
NEAR Action.
Link to this section Summary
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
Link to this function
enum_map()
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