createTokenBridgeEnoughCustomFeeTokenAllowance
Type Aliases
CreateTokenBridgeEnoughCustomFeeTokenAllowanceParams<TChain>
type CreateTokenBridgeEnoughCustomFeeTokenAllowanceParams<TChain>: Prettify<WithTokenBridgeCreatorAddressOverride<object>>;
Type parameters
Type parameter |
---|
TChain extends Chain | undefined |
Source
src/createTokenBridgeEnoughCustomFeeTokenAllowance.ts:10
Functions
createTokenBridgeEnoughCustomFeeTokenAllowance()
function createTokenBridgeEnoughCustomFeeTokenAllowance<TChain>(__namedParameters: object): Promise<boolean>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type | Description |
---|---|---|
__namedParameters | object | - |
__namedParameters.nativeToken | `0x${string}` | - |
__namedParameters.owner | `0x${string}` | - |
__namedParameters.publicClient | object | - |
__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
<boolean
>