swap
Last updated
Last updated
pool_id
nat
pool identifier.
idx_from
token_pool_idx_t
index of input token.
idx_to
token_pool_idx_t
index of output token.
amount
nat
amount of input token.
min_amount_out
nat
minimal amount of output token expected to receive.
deadline
timestamp
deadline of current operation.
receiver
option(address)
optional, address of the receiver of the LP tokens. If not provided the sender
address will be used.
referral
option(address)
optional, address of the referral of the current operation. If not provided the default_referral
address will be used.