Tezos functions
Tezos.sender (): address
Tezos.source (): address
Tezos.chainId (): chain_id
Return the current chainid
Tezos.amount (): mutez
Return the amount sent by the calling transaction
Tezos.balance (): mutez
Return the balance of the current contract
Tezos.now (): timestamp
Same as Timestamp.now, returns the current timestamp.
Tezos.self (): unit contract
Tezos.selfAddress (): address
Return the address of the current contract
Tezos.address ('a contract): address
Return the address of 'a contract
Tezos.contract (address): 'a contract
Return the typed contract of address
Tezos.setDelegate (address option): operation
Set or unset the delegate for the current contract
Tezos.implicitAccount (key_hash): unit contract
Return the contract of the given key_hash
Tezos.transfer (address, mutez): operation
Transfer mutez to address
Tezos.transfer ('a contract, 'a, mutez): operation
Transfer mutez to contract
Tezos.createContract ('a code, key_hash option, mutez): operation
Last updated