UNPKG

@polymeshassociation/polymesh-types

Version:
69 lines 2.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { rpc: { getExecuteInstructionInfo: { description: 'Returns an ExecuteInstructionInfo instance, containing the consumed weight and the number of tokens in the instruction.', params: [ { name: 'instruction_id', type: 'InstructionId', isOptional: false, }, { name: 'blockHash', type: 'Hash', isOptional: true, }, ], type: 'Option<ExecuteInstructionInfo>', }, getAffirmationCount: { description: 'Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction', params: [ { name: 'instruction_id', type: 'InstructionId', isOptional: false, }, { name: 'portfolios', type: 'Vec<PortfolioId>', isOptional: false, }, { name: 'blockHash', type: 'Hash', isOptional: true, }, ], type: 'AffirmationCount', }, getExecuteInstructionReport: { description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.", params: [ { name: 'instruction_id', type: 'InstructionId', }, ], type: 'Vec<DispatchError>', }, getTransferReport: { description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.", params: [ { name: 'leg', type: 'Leg', }, { name: 'skip_locked_check', type: 'bool', }, ], type: 'Vec<DispatchError>', }, }, types: {}, }; //# sourceMappingURL=definitions.js.map