pub fn signer_account_pk() -> PublicKey
Expand description
The public key of the account that did the signing.
ยงExamples
use near_sdk::env::signer_account_pk;
use near_sdk::{PublicKey, CurveType};
let pk = PublicKey::from_parts(near_sdk::CurveType::ED25519, vec![0; 32]).unwrap();
assert_eq!(signer_account_pk(), pk);