Skip to main content

GetCurrentAddress

Function GetCurrentAddress 

Source
pub fn GetCurrentAddress() -> Result<ContractAddress, SysErr>
Expand description

Returns the contract address of the current call frame.

ยงOutputs

  • address

This is a convenience wrapper around uninit_GetCurrentAddress that returns the result as SyscallResult<T>.