In case the input for a given DAG node is a rpc request, the data for the given request will be a JSON object with the key being the rpc request id and the value the JSON object with the relevant data.

Request Object Details

Field
Type
Description

remote_addr

String

Remote address of request.

method

String

HTTP verb of request

request_uri

String

URI of request

header

String:[String]

HTTP headers of request

body

String

Body of the request in a base64 encoded format

Response Object Details

For a rpc response to match a given request, the key of that request needs to be used as key in the output of the node and the value field needs to be an object with fields, like the following.

Field
Type
Description

status_code

Number

Status Code of the response

header

String:[String]

HTTP response headers. This structure allows for multiple instances of the same header. e.g. "Origin":["one.com", "two.com"]

body

String

Body of the response in a base64 encoded format

RPC