--- a/tests/src/interfaces/augment-api-rpc.ts +++ b/tests/src/interfaces/augment-api-rpc.ts @@ -437,7 +437,7 @@ /** * Get NFT resource priorities **/ - nftResourcePriorities: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable>>; + nftResourcePriority: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable>>; /** * Get NFT resources **/ --- a/tests/src/interfaces/rmrk/definitions.ts +++ b/tests/src/interfaces/rmrk/definitions.ts @@ -81,13 +81,14 @@ ], 'Vec', ), - nftResourcePriorities: fn( + nftResourcePriority: fn( 'Get NFT resource priorities', [ {name: 'collectionId', type: 'u32'}, {name: 'nftId', type: 'u32'}, + {name: 'resourceId', type: 'u32'}, ], - 'Vec', + 'Option', ), base: fn( 'Get base info',