- hasRuleConfig<T0 = any, T1 = any>(
tx: Transaction,
args: [
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
],
typeArguments: [string | TypeDescriptor<T0>, string | TypeDescriptor<T1>],
): TransactionArgument & [TransactionArgument] Parameters
- tx: Transaction
- args: [
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
] - typeArguments: [string | TypeDescriptor<T0>, string | TypeDescriptor<T1>]
Returns TransactionArgument & [TransactionArgument]