Burn
Withdraw liquidity in the pair by burning pool assets.
Arguments
Send pool asset
output
requiredto
data
optional Define the receiver address.deadline
data
optionalDefine 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
}
}
Last updated
Was this helpful?