Skip to content

Commit

Permalink
fix obj schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alex v committed Dec 9, 2024
1 parent 713b9d6 commit 3df89da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/blsct/tokens/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ std::vector<RPCResult> tokenInfoResult = {
RPCResult{RPCResult::Type::STR_HEX, "tokenId", "the token id"},
RPCResult{RPCResult::Type::STR_HEX, "publicKey", "the token public key"},
RPCResult{RPCResult::Type::STR, "type", "the token type"},
RPCResult{RPCResult::Type::ANY, "metadata", "the token metadata"},
RPCResult{RPCResult::Type::NUM, "maxSupply", "the token max supply"},
RPCResult{RPCResult::Type::NUM, "currentSupply", true, "the token current supply"},
RPCResult{RPCResult::Type::ANY, "mintedNft", true, "the nfts already minted"},
RPCResult{RPCResult::Type::OBJ_DYN, "metadata", "the token metadata", {
{RPCResult::Type::STR, "<key>", "the metadata value"},
}},
RPCResult{RPCResult::Type::NUM, "maxSupply", "the token max supply"}, RPCResult{RPCResult::Type::NUM, "currentSupply", true, "the token current supply"}, RPCResult{RPCResult::Type::OBJ_DYN, "mintedNft", true, "the nfts already minted", {{RPCResult::Type::OBJ, "<nft_index>", "", {
{RPCResult::Type::STR, "<metadata_key>", "the metadata value"},
}}}}

};

Expand Down

0 comments on commit 3df89da

Please sign in to comment.