View Source Radixir.Core.Request.BuildTransaction (radixir v0.0.2)
Methods to create each map in BuildTransaction request body.
Link to this section Summary
Functions
Adds operation_groups to BuildTransaction request body.
Generates stitch plan for disable_resource_allocate_and_destroy map in BuildTransaction request body.
Generates stitch plan for fee_payer map in BuildTransaction request body.
Generates stitch plan for message map in BuildTransaction request body.
Generates stitch plan for network_identifier map in BuildTransaction request body.
Generates stitch plan for sub_entity map in BuildTransaction request body.
Link to this section Types
Link to this section Functions
Specs
add_operation_groups(request(), operations_groups()) :: stitch_plans()
Adds operation_groups to BuildTransaction request body.
Parameters
request: Request body.operation_groups: List of operation maps to be added to request body.
Specs
disable_resource_allocate_and_destroy(stitch_plans(), params()) :: stitch_plans()
Generates stitch plan for disable_resource_allocate_and_destroy map in BuildTransaction request body.
Parameters
stitch_plans: On-going stitch plans that will be stitched into a map.params: Keyword list that contains:disable_resource_allocate_and_destroy(required, boolean): Disable resource allocate and destroy.
Specs
fee_payer(stitch_plans(), params()) :: stitch_plans()
Generates stitch plan for fee_payer map in BuildTransaction request body.
Parameters
stitch_plans: On-going stitch plans that will be stitched into a map.params: Keyword list that contains:address(required, string): Radix address.
Specs
message(stitch_plans(), params()) :: stitch_plans()
Generates stitch plan for message map in BuildTransaction request body.
Parameters
stitch_plans: On-going stitch plans that will be stitched into a map.params: Keyword list that contains:message(required, string): Message.
Specs
network_identifier(stitch_plans(), params()) :: stitch_plans()
Generates stitch plan for network_identifier map in BuildTransaction request body.
Parameters
stitch_plans: On-going stitch plans that will be stitched into a map.params: Keyword list that contains:network(optional, string): Ifnetworkis not in params it will default to what is returned fromRadixir.Config.network().
Specs
sub_entity(stitch_plans(), params()) :: stitch_plans()
Generates stitch plan for sub_entity map in BuildTransaction request body.
Parameters
stitch_plans: On-going stitch plans that will be stitched into a map.params: Keyword list that contains:address(required, string): Sub Entity address.validator_address(optional, string): Validator address.epoch_unlock(optional, integer): Epoch unlock.