Methods
(static) decodeAddress(address) → {xdr.SignerKey}
Decodes a StrKey address into an xdr.SignerKey instance.
Only ED25519 public keys (G...), pre-auth transactions (T...), hashes (H...), and signed payloads (P...) can be signer keys.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
a StrKey-encoded signer address |
Returns:
- Type:
-
xdr.SignerKey
(static) encodeSignerKey(signerKey) → {string}
Encodes a signer key into its StrKey equivalent.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
signerKey |
xdr.SignerKey
|
the signer |
Returns:
- Type:
-
string
the StrKey representation of the signer