Hi all, I’m trying to use the Node SDK to update a cis2-multi nft contract instance on testnet. However, I’m unsure how to represent a BTreeMap as JSON.
for some more context, here is the parameter I’m trying to represent:
pub struct MintParams {
/// Owner of the newly minted tokens.
owner: Address,
/// A collection of tokens to mint.
tokens: collections::BTreeMap<ContractTokenId, ContractTokenAmount>,
}
Any help would be greatly appreciated. Thanks!