Skip to content

Converts an address from any supported chain to a bech32 formatted address prefixed with bb. If we are unable to convert the address, we return an empty string…

convertToBitBadgesAddress(address): string

Defined in: packages/bitbadgesjs-sdk/src/address-converter/converter.ts:92

Converts an address from any supported chain to a bech32 formatted address prefixed with bb. If we are unable to convert the address, we return an empty string ('').

Parameters

address

string

Returns

string

Edit this page on GitHub