View Source Radixir.Gateway.Request.FinalizeTransaction (radixir v0.0.3)

Methods to create each map in FinalizeTransaction request body.

Link to this section Summary

Functions

Generates stitch plan for network_identifier map in FinalizeTransaction request body.

Generates stitch plan for signature map in FinalizeTransaction request body.

Generates stitch plan for submit map in FinalizeTransaction request body.

Generates stitch plan for unsigned_transaction map in FinalizeTransaction request body.

Link to this section Types

Specs

params() :: keyword()

Specs

stitch_plans() :: [keyword()]

Link to this section Functions

Link to this function

network_identifier(stitch_plans, params \\ [])

View Source

Specs

network_identifier(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for network_identifier map in FinalizeTransaction request body.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • network (optional, string): If network is not in params it will default to what is returned from Radixir.Config.network().
Link to this function

signature(stitch_plans, params)

View Source

Specs

signature(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for signature map in FinalizeTransaction request body.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • bytes (required, string): Signature bytes.
    • hex (required, string): Signature public key hex.
Link to this function

submit(stitch_plans, params)

View Source

Specs

submit(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for submit map in FinalizeTransaction request body.

Parameters

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

unsigned_transaction(stitch_plans, params)

View Source

Specs

unsigned_transaction(stitch_plans(), params()) :: stitch_plans()

Generates stitch plan for unsigned_transaction map in FinalizeTransaction request body.

Parameters

  • stitch_plans: On-going stitch plans that will be stitched into a map.
  • params: Keyword list that contains:
    • unsigned_transaction (required, string): Unsigned Transaction.