packages/types/src/interfaces/txqueue/runtime.ts
// Copyright 2017-2024 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { DefinitionsCall } from '../../types/index.js';
export const runtime: DefinitionsCall = {
TaggedTransactionQueue: [
{
methods: {
validate_transaction: {
description: 'Validate the transaction.',
params: [
{
name: 'source',
type: 'TransactionSource'
},
{
name: 'tx',
type: 'Extrinsic'
},
{
name: 'blockHash',
type: 'BlockHash'
}
],
type: 'TransactionValidity'
}
},
version: 3
},
{
methods: {
validate_transaction: {
description: 'Validate the transaction.',
params: [
{
name: 'source',
type: 'TransactionSource'
},
{
name: 'tx',
type: 'Extrinsic'
}
],
type: 'TransactionValidity'
}
},
version: 2
},
{
methods: {
validate_transaction: {
description: 'Validate the transaction.',
params: [
{
name: 'tx',
type: 'Extrinsic'
}
],
type: 'TransactionValidity'
}
},
version: 1
}
]
};