Burn

Withdraw liquidity in the pair by burning pool assets.

Arguments

  • Send pool asset output required

  • to data optional Define the receiver address.

  • deadline data optional

    Define a timestamp, the request will be bounced if deadline expired.

Example

{
trigger: {
outputs: {
base: 10000,
'gD5qf2cwFjVQN+6EefOF2QCsey+eFZz5KvKuybE3XbY=': 50000
}
}
}

Returns

{
responseVars: {
type: 'burn',
asset0_amount: 50000,
asset1_amount: 256000
}
}