- withdraw<T0 = 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] },
| 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] },
TransactionArgument | _0x1.option.Option<bigint>,
],
typeArguments: [string | TypeDescriptor<T0>],
): TransactionArgument & [
TransactionArgument,
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] },
| 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] },
TransactionArgument | _0x1.option.Option<bigint>,
] - typeArguments: [string | TypeDescriptor<T0>]
Returns TransactionArgument & [
TransactionArgument,
TransactionArgument,
TransactionArgument,
]