Options
All
  • Public
  • Public/Protected
  • All
Menu

Executes a market swap send between 2 denominations at the exchange rate registered by the Oracle module. The sender account will lose the amount of coins offered, and receiver will receive funds in the requested denomination after a swap and send fee has been applied.

Hierarchy

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

Properties

ask_denom

ask_denom: Denom

desired denomination (to)

from_address

from_address: AccAddress

sender's account address

offer_coin

offer_coin: Coin

coin to be swapped (from)

to_address

to_address: AccAddress

receiver's account address

Methods

toData

toJSON

  • toJSON(): string

Static fromData

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc