Is it possible to create a smart contract that knows the value of its KT1 address?

E.g. if you wanted the contract to check that there was a signature signed over its contract address, would it be able to find it/refer to it?

1 Answer 1


Yes, Michelson provides the following instruction SELF_ADDRESS

In SmartPy you can use sp.self_address

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.