View Source Radixir.Core.Request.BuildTransaction.Operation.ResourceIdentifier (radixir v0.0.3)

Methods to create each map in ResourceIdentifier map.

Link to this section Summary

Functions

Generates stitch plan for stake_unit type in ResourceIdentifier map. Type value is set to StakeUnit.

Generates stitch plan for token type in ResourceIdentifier map. Type value is set to Token.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

stake_unit(stitch_plans, params)

View Source

Specs

stake_unit(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for stake_unit type in ResourceIdentifier map. Type value is set to StakeUnit.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • validator_address (required, string): Radix address.
Link to this function

token(stitch_plans, params)

View Source

Specs

token(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for token type in ResourceIdentifier map. Type value is set to Token.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • rri (required, string): Radix Resource Identifier.