createTokenBridgeFetchTokenBridgeContracts
Type Aliases
CreateTokenBridgeFetchTokenBridgeContractsParams<TChain>
type CreateTokenBridgeFetchTokenBridgeContractsParams<TChain>: Prettify<WithTokenBridgeCreatorAddressOverride<object>>;
Type parameters
Type parameter |
---|
TChain extends Chain | undefined |
Source
src/createTokenBridgeFetchTokenBridgeContracts.ts:10
Functions
createTokenBridgeFetchTokenBridgeContracts()
function createTokenBridgeFetchTokenBridgeContracts<TChain>(__namedParameters: object): Promise<TokenBridgeContracts>
Type parameters
Type parameter |
---|
TChain extends undefined | Chain <undefined | ChainFormatters > |
Parameters
Parameter | Type | Description |
---|---|---|
__namedParameters | object | - |
__namedParameters.inbox | `0x${string}` | - |
__namedParameters.parentChainPublicClient | 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
<TokenBridgeContracts
>