Mint
Add liquidity in the pair AA and mint pool assets.
Arguments
Option a: Send both paired assets
output
requiredOption b: Send one asset
output
and mintdata
Used to add liquidity using a single asset.to
data
optionalDefine the receiver address.
deadline
data
optionalDefine a timestamp, the request will be bounced if deadline expired.
Example
Option a
{
trigger: {
outputs: {
base: 500000,
'WhsD5Y/1NeKROgQojGwfe9EBC7NH4KnAk4CorCrVRhs=': 1000000
}
}
}
Option b
{
trigger: {
outputs: {
base: 1000000
},
data: {
mint: '1'
}
}
}
Returns
{
responseVars: {
type: 'mint',
asset_amount: 500000
}
}
Last updated
Was this helpful?