getAvailablePaymentMethods
get all available payment methods
import NiftySDK from 'nifty-protocol';
const niftySDK = new NiftySDK({ key: 'key', env: Nifty.envs.TESTNET });
niftySDK.getAvailablePaymentMethods(chainId)
.then(async (res) => {
console.log(res)
})Param
Value / Explanation
Type
chainId
optional parameter get all available payment method the chain id
number
Last updated