Mint

Add liquidity in the pair AA and mint pool assets.

Arguments

  • Option a: Send both paired assets output required

  • Option b: Send one asset output and mint data Used to add liquidity using a single asset.

  • to data optional

    Define the receiver address.

  • deadline data optional

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

Example

Option a

{
  trigger: {
    outputs: {
      base: 500000,
      'WhsD5Y/1NeKROgQojGwfe9EBC7NH4KnAk4CorCrVRhs=': 1000000
    }
  }
}

Option b

Returns

Last updated

Was this helpful?