Skip to main content
Version: 2.4

Get Signer From SURI

This returns the signer object of a given SURI.

API.utils.getSigner();
All API utils also work in offline mode.

Example Output

{
sign: [Function: sign],
address: '5FCAsbtNawWS4d59ssSnQx35cSQN1cCyDUWrABiXZCE6QctP',
publicKey: Uint8Array(32) [
94, 15, 145, 248, 243, 62, 155,
139, 43, 40, 170, 196, 114, 189,
119, 130, 225, 117, 65, 58, 252,
73, 91, 147, 127, 55, 115, 251,
139, 196, 70, 119
]
}