Returns an integer representing the number of bytes in the contract context.
Syntax
tdr.GetContractLength()
Example: Get the Length of the Contract Context
The following statement prints the number of bytes in the contract context:
print(tdr.GetContractLength())