Mint
Mint Pool assets in exchange for transferring assets to the Pool account.
Transaction Group
{
"txn": {
"type": "pay",
"rcv": "{POOL_ADDRESS}",
"snd": "{POOLER_ADDRESS",
"amt": 2000,
"fee": 1000,
...
},
"sig": "{POOLER_SIG}",
}{
"txn": {
"type": "appl",
"snd": "{POOL_ADDRESS}",
"apid": {VALIDATOR_APP_ID},
"apan": 0, // OnComplete: NoOp
"apaa": ['bWludA=='], // ['mint']
"apas": [{ASSET1_ID}, {ASSET2_ID}, {LIQUIDITY_ASSET_ID}], // or just [{ASSET1_ID}, {LIQUIDITY_ASSET_ID}] if asset 2 is Algo
"apat": [{POOLER_ADDRESS}],
"fee": 1000,
...
},
"lsig": "{POOL_LOGICSIG}",
}Validator App State Changes
Last updated
Was this helpful?