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.
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
a StrKey-encoded signer address |
xdr.SignerKey
# static encodeSignerKey(signerKey) → {string}
Encodes a signer key into its StrKey equivalent.
Parameters:
Name | Type | Description |
---|---|---|
signerKey |
xdr.SignerKey
|
the signer |
the StrKey representation of the signer
string