Returns public key for given signer
ProtectedsignImplement this method to sign given bytes payload.
The payload to sign.
Signs given delegate action.
The delegate action to sign.
An object containing delegateHash (raw hash bytes) and signedDelegate. Does not relay it.
Signs given message according to NEP-413 requirements
The account name to which the public key corresponds (e.g. "alice.near").
The parameters including message, recipient, nonce, and optional callbackUrl.
The account ID, public key, and raw signature bytes; no transaction is submitted.
Signs given transaction.
The transaction to sign.
An object containing txHash (raw hash bytes) and signedTransaction. Does not submit it.
StaticfromCreates a local signer from a secret key.
Curve-prefixed Base58 secret key, such as ed25519:....
A signer holding the imported key pair in memory.
Signs locally using an in-memory key pair. Does not submit transactions or store credentials.