[−][src]Function near_sdk::env::predecessor_account_id
pub fn predecessor_account_id() -> String
The id of the account that was the previous contract in the chain of cross-contract calls.
If this is the first contract, it is equal to signer_account_id
.