Any Address
Creates an address from a string representation and a coin type. Must be deleted with TWAnyAddressDelete after use.
Return
TWAnyAddress pointer or nullptr if address and coin are invalid.
Parameters
address to create.
coin type of the address.
Creates an bech32 address from a string representation, a coin type and the given hrp. Must be deleted with TWAnyAddressDelete after use.
Return
TWAnyAddress pointer or nullptr if address and coin are invalid.
Parameters
address to create.
coin type of the address.
hrp of the address.
Creates an SS58 address from a string representation, a coin type and the given ss58Prefix. Must be deleted with TWAnyAddressDelete after use.
Return
TWAnyAddress pointer or nullptr if address and coin are invalid.
Parameters
address to create.
coin type of the address.
ss58Prefix of the SS58 address.
Creates an address from a public key.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
coin type of the address.
Creates an address from a public key and derivation option.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
coin type of the address.
the custom derivation to use.
Creates an bech32 address from a public key and a given hrp.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
coin type of the address.
hrp of the address.
Creates an SS58 address from a public key and a given ss58Prefix.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
coin type of the address.
ss58Prefix of the SS58 address.
Creates a Filecoin address from a public key and a given address type.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
Filecoin address type.
Creates a Firo address from a public key and a given address type.
Return
TWAnyAddress pointer or nullptr if public key is invalid.
Parameters
derivates the address from the public key.
Firo address type.