CallResponse
CallResponse contains the result of a /call
invocation.
Properties
Name | Type | Description | Required |
---|---|---|---|
result | Object | Result contains the result of the /call invocation. This result will not be inspected or interpreted by Rosetta tooling and is left to the caller to decode. | True |
idempotent | Boolean | Idempotent indicates that if /call is invoked with the same CallRequest again, at any point in time, it will return the same CallResponse. Integrators may cache the CallResponse if this is set to true to avoid making unnecessary calls to the Rosetta implementation. For this reason, implementers should be very conservative about returning true here or they could cause issues for the caller. | True |
Example
{
"result": {
"count": 1000
},
"idempotent": true
}