UNPKG

@avalanche-sdk/interchain

Version:
11 lines 668 B
/** * Parses a bech32 address to bytes. * @param bech32Address The bech32 address string to parse. * @param chainAlias The chain alias to add to the address if it's not already present. * @returns The bytes of the address. */ export declare function parseBech32AddressToBytes(bech32Address: string, chainAlias?: string): Uint8Array<ArrayBufferLike>; export declare function evmAddressToBytes(address: string): Uint8Array<ArrayBufferLike>; export declare function bech32AddressToBytes(address: string): Uint8Array<ArrayBufferLike>; export declare function evmOrBech32AddressToBytes(address: string): Uint8Array<ArrayBufferLike>; //# sourceMappingURL=utils.d.ts.map