createTokenBridgePrepareTransactionRequest
Type Aliases
CreateTokenBridgePrepareTransactionRequestParams<TParentChain, TOrbitChain>
type CreateTokenBridgePrepareTransactionRequestParams<TParentChain, TOrbitChain>: Prettify<WithTokenBridgeCreatorAddressOverride<object>>;
Type parameters
Type parameter |
---|
TParentChain extends Chain | undefined |
TOrbitChain extends Chain | undefined |
Source
src/createTokenBridgePrepareTransactionRequest.ts:25
TransactionRequestRetryableGasOverrides
type TransactionRequestRetryableGasOverrides: object;
Type declaration
Member | Type |
---|---|
maxGasForContracts | GasOverrideOptions |
maxGasForFactory | GasOverrideOptions |
maxGasPrice | bigint |
maxSubmissionCostForContracts | GasOverrideOptions |
maxSubmissionCostForFactory | GasOverrideOptions |
Source
src/createTokenBridgePrepareTransactionRequest.ts:17
Functions
createTokenBridgePrepareTransactionRequest()
function createTokenBridgePrepareTransactionRequest<TParentChain, TOrbitChain>(__namedParameters: object): Promise<any>
Type parameters
Type parameter |
---|
TParentChain extends undefined | Chain <undefined | ChainFormatters > |
TOrbitChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type | Description |
---|---|---|
__namedParameters | object | - |
__namedParameters.account | `0x${string}` | - |
__namedParameters.gasOverrides ? | TransactionRequestGasOverrides | - |
__namedParameters.orbitChainPublicClient | object | - |
__namedParameters.params | object | - |
__namedParameters.params.rollup | `0x${string}` | - |
__namedParameters.params.rollupOwner | `0x${string}` | - |
__namedParameters.parentChainPublicClient | object | - |
__namedParameters.retryableGasOverrides ? | TransactionRequestRetryableGasOverrides | - |
__namedParameters.tokenBridgeCreatorAddressOverride ? | `0x${string}` | Specifies a custom address for the TokenBridgeCreator. By default, the address will be automatically detected based on the provided chain. |
Returns
Promise
<any
>