Add new /api/v1/contracts/results/{transactionIdOrHash}/opcodes
endpoint
#8174
Labels
/api/v1/contracts/results/{transactionIdOrHash}/opcodes
endpoint
#8174
As part of the work package to support tracing transactions and externalizing the executed opcodes, we'd need to add new endpoint on path
/api/v1/contracts/results/{transactionIdOrHash}/opcodes
, however important detail should be that this endpoint will be disabled by default. Can be used and enabled only on local or custom networks and won't be available on the official public ones.Spring supports this, one example how we can achieve this behaviour is https://docs.spring.io/spring-boot/reference/features/developing-auto-configuration.html#features.developing-auto-configuration.condition-annotations.property-conditions
Current contract call route can be found here. New route can be influenced by it, we should also add rate limiting and hash validation.
More info can be found here.
The text was updated successfully, but these errors were encountered: