Function psibase::get_sender
source · pub fn get_sender() -> AccountNumber
Expand description
Get sender of currently-executing action
If the currently-executing WASM is a service, then this returns the current action’s sender. If the currently-executing code is not WASM, or is not a service, then this returns 0.