Preparing search index...
The search index is not available
Connect SDK - v0.3.0
Connect SDK
@wormhole-foundation/sdk-definitions
UniversalAddress
Class UniversalAddress
Hierarchy
UniversalAddress
Implements
Address
Index
Constructors
constructor
Properties
address
byte
Size
type
Methods
equals
to
Native
to
String
to
Uint8
Array
to
Universal
Address
unwrap
instanceof
is
Valid
Address
string
To
Uint8
Array
Constructors
constructor
new
Universal
Address
(
address
,
format
?
)
:
UniversalAddress
Parameters
address
:
string
|
Uint8Array
format
:
"hex"
|
"base58"
|
"bech32"
|
"algorandAppId"
|
"sha256"
= "hex"
Returns
UniversalAddress
Properties
Private
Readonly
address
address
:
Uint8Array
Static
Readonly
byte
Size
byte
Size
:
32
= 32
Static
Readonly
type
type
:
string
= "Universal"
Methods
equals
equals
(
other
)
:
boolean
Parameters
other
:
UniversalAddress
Returns
boolean
to
Native
to
Native
<
T
>
(
chainOrPlatform
)
:
NativeAddress
<
T
>
Type Parameters
T
extends
"Solana"
|
"Ethereum"
|
"Terra"
|
"Bsc"
|
"Polygon"
|
"Avalanche"
|
"Oasis"
|
"Algorand"
|
"Aurora"
|
"Fantom"
|
"Karura"
|
"Acala"
|
"Klaytn"
|
"Celo"
|
"Near"
|
"Moonbeam"
|
"Neon"
|
"Terra2"
|
"Injective"
|
"Osmosis"
|
"Sui"
|
"Aptos"
|
"Arbitrum"
|
"Optimism"
|
"Gnosis"
|
"Pythnet"
|
"Xpla"
|
"Btc"
|
"Base"
|
"Sei"
|
"Rootstock"
|
"Wormchain"
|
"Cosmoshub"
|
"Evmos"
|
"Kujira"
|
"Sepolia"
|
"ArbitrumSepolia"
|
"BaseSepolia"
|
"OptimismSepolia"
|
"Holesky"
Parameters
chainOrPlatform
:
T
Returns
NativeAddress
<
T
>
to
String
to
String
(
)
:
string
Returns
string
to
Uint8
Array
to
Uint8
Array
(
)
:
Uint8Array
Returns
Uint8Array
to
Universal
Address
to
Universal
Address
(
)
:
UniversalAddress
Returns
UniversalAddress
unwrap
unwrap
(
)
:
Uint8Array
Returns
Uint8Array
Static
instanceof
instanceof
(
address
)
:
address
is
UniversalAddress
Parameters
address
:
any
Returns
address
is
UniversalAddress
Static
is
Valid
Address
is
Valid
Address
(
address
,
format
?
)
:
boolean
Parameters
address
:
string
format
:
"hex"
|
"base58"
|
"bech32"
|
"algorandAppId"
|
"sha256"
= "hex"
Returns
boolean
Private
Static
string
To
Uint8
Array
string
To
Uint8
Array
(
address
,
format
)
:
Uint8Array
Parameters
address
:
string
format
:
"hex"
|
"base58"
|
"bech32"
|
"algorandAppId"
|
"sha256"
Returns
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
address
byte
Size
type
equals
to
Native
to
String
to
Uint8
Array
to
Universal
Address
unwrap
instanceof
is
Valid
Address
string
To
Uint8
Array
Connect SDK -
v0.3.0
@wormhole-
foundation/sdk-
base -
v0.3.0
@wormhole-
foundation/sdk-
definitions -
v0.3.0
Automatic
Circle
Bridge
Automatic
Token
Bridge
Circle
Bridge
Token
Bridge
layout
Items
testing
Chain
Context
Platform
Context
Signature
Universal
Address
Address
Automatic
Circle
Bridge
Automatic
Token
Bridge
Circle
Bridge
Gateway
Ibc
Transfer
Msg
Gateway
Msg
Gateway
Transfer
Msg
Gateway
Transfer
With
Payload
Msg
Ibc
Bridge
Ibc
Transfer
Data
Ibc
Transfer
Info
Platform
Utils
Protocol
Initializer
Relayer
Sign
And
Send
Signer
Sign
Only
Signer
Token
Bridge
Unsigned
Transaction
VAA
Wormhole
Core
Account
Address
Attestation
Attestation
Id
Attestation
Receipt
Balances
Chain
Address
Chain
Config
Chains
Config
Circle
Attestation
Circle
Message
Id
Circle
Transfer
Details
Circle
Transfer
Message
Contracts
Gateway
Transfer
Details
Ibc
Message
Id
Mapped
Platforms
Named
Payloads
Native
Address
Payload
Payload
Discriminator
Payload
Literal
Protocol
Implementation
Protocol
Payload
ProtocolVAA
Register
Payload
Types
Rpc
Connection
Sequence
Id
Signed
Tx
Signer
Token
Address
Token
Id
Token
Transfer
Details
Transaction
Id
Tx
Hash
Universal
Or
Native
Wormhole
Message
Id
get
Circle
Attestation
get
Wormhole
Attestation
Err
Not
Wrapped
blind
Deserialize
Payload
build
Config
create
createVAA
deserialize
deserialize
Payload
gateway
Transfer
Msg
get
Contracts
get
Payload
Layout
get
Protocol
Initializer
is
Circle
Message
Id
is
Circle
Transfer
Details
is
Gateway
Ibc
Transfer
Msg
is
Gateway
Transfer
Details
is
Gateway
Transfer
Msg
is
Gateway
Transfer
With
Payload
Msg
is
Ibc
Message
Id
is
Ibc
Transfer
Info
is
Sign
And
Send
Signer
is
Sign
Only
Signer
is
Signer
is
Token
Id
is
Token
Transfer
Details
is
Transaction
Identifier
is
Wormhole
Message
Id
make
Gateway
Transfer
Msg
native
Is
Registered
payload
Discriminator
protocol
Is
Registered
register
Native
register
Payload
Type
register
Payload
Types
register
Protocol
serialize
serialize
Payload
to
Gateway
Msg
to
Native
to
Universal
@wormhole-
foundation/connect-
sdk -
v0.3.0
@wormhole-
foundation/connect-
sdk-
evm -
v0.3.0
@wormhole-
foundation/connect-
sdk-
evm-
core -
v0.3.0
@wormhole-
foundation/connect-
sdk-
evm-
tokenbridge -
v0.3.0
@wormhole-
foundation/connect-
sdk-
evm-
cctp -
v0.3.0
@wormhole-
foundation/connect-
sdk-
solana -
v0.3.0
@wormhole-
foundation/connect-
sdk-
solana-
core -
v0.3.0
@wormhole-
foundation/connect-
sdk-
solana-
tokenbridge -
v0.3.0
@wormhole-
foundation/connect-
sdk-
cosmwasm -
v0.3.0
@wormhole-
foundation/connect-
sdk-
cosmwasm-
core -
v0.3.0
@wormhole-
foundation/connect-
sdk-
cosmwasm-
tokenbridge -
v0.3.0
@wormhole-
foundation/connect-
sdk-
cosmwasm-
ibc -
v0.3.0
Generated using
TypeDoc