Currently the @rgbpp-sdk/btc checks whether the CKB_VTX has included sufficient capacity in its inputs. If it does, the transaction is marked as needPaymaster = false, otherwise a payment output is generated for the paymaster.
However, In some cases, the paymaster output in the BTC_TX is requested to be NOT NEEDED:
Description
Currently the
@rgbpp-sdk/btc
checks whether the CKB_VTX has included sufficient capacity in its inputs. If it does, the transaction is marked asneedPaymaster = false
, otherwise a payment output is generated for the paymaster.However, In some cases, the paymaster output in the BTC_TX is requested to be NOT NEEDED:
Checklist
@rgbpp-sdk/btc
: add aneedPaymaster?: boolean
option in the sendRgbppUtxos() API @ShookLyngs@rgbpp-sdk/ckb
: some APIs don't have theneedPaymasterCell
returned in the CKB_VTX result @duanyytop