git.delta.rocks / unique-network / refs/commits / e077e7804a83

difftreelog

source

tests/src/substrate/rpc_defs.json1.8 KiBsourcehistory
1{2   "nft": {3      "accountBalance": {4         "description": "Get amount of different user tokens",5         "params": [6            {7               "name": "collectionId",8               "type": "CollectionId"9            },10            {11               "name": "account",12               "type": "CrossAccountId"13            },14            {15               "isOptional": true,16               "name": "at",17               "type": "Hash"18            }19         ],20         "type": "u32"21      },22      "adminlist": {23         "description": "Get admin list",24         "params": [25            {26               "name": "collectionId",27               "type": "CollectionId"28            },29            {30               "isOptional": true,31               "name": "at",32               "type": "Hash"33            }34         ],35         "type": "Vec<AccountId>"36      },37      "balance": {38         "description": "Get amount of specific account token",39         "params": [40            {41               "name": "collectionId",42               "type": "CollectionId"43            },44            {45               "name": "account",46               "type": "CrossAccountId"47            },48            {49               "name": "tokenId",50               "type": "TokenId"51            },52            {53               "isOptional": true,54               "name": "at",55               "type": "Hash"56            }57         ],58         "type": "u128"59      },60      "lastTokenId": {61         "description": "Get last token id",62         "params": [63            {64               "name": "collectionId",65               "type": "CollectionId"66            },67            {68               "isOptional": true,69               "name": "at",70               "type": "Hash"71            }72         ],73         "type": "TokenId"74      }75   }76}