Redeem Protocol Fees
Transfer collected protocol fees to the CREATOR account.
Transaction Group:
{
"txn": {
"type": "pay",
"rcv": "{POOL_ADDRESS}",
"snd": "{USER_ADDRESS",
"amt": 2000,
...
},
"sig": "{USER_SIG}",
}{
"txn": {
"type": "appl",
"snd": "{POOL_ADDRESS}",
"apid": {VALIDATOR_APP_ID},
"apan": 0, // OnComplete: NoOp
"apaa": ['ZmVlcw=='], // ['fees']
"apas": [{ASSET1_ID}, {ASSET2_ID}, {LIQUIDITY_ASSET_ID}], // or just [{ASSET1_ID}, {LIQUIDITY_ASSET_ID}] if asset 2 is Algo
...
},
"lsig": "{POOL_LOGICSIG}",
}Validator App State Changes
Last updated
Was this helpful?