AbstractAbstractgetReturns public key for given signer
Protected AbstractsignImplement 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.
General signing interface, can be used for in memory signing, RPC singing, external wallet, HSM, etc.
The signer must return a valid PublicKey from
getPublicKey(), and must implement raw byte signing that can be verified with the corresponding public key. (To verify the signature, serialize and hash transaction/delegate action, or get payload hash for NEP-413 message fromutils.tsand verify with the public key).