postLocalCommand

Blocking/sync call to submit a command for non-transactional execution. In a blockchain environment this would be a node-local “dirty read”, which can either serve as a node-local repl execution, or fully gassed transaction simulation and transaction validation. Any database writes or changes to the environment are rolled back.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
enum
required

The version of the API.

Allowed:
string
enum
required

The version of the Chainweb protocol.

Allowed:
integer
required
≥ 0
Defaults to 0

the id of the chain to which the request is sent

Query Params
boolean

Trigger fully-gassed mainnet transaction execution simulation and transaction metadata validations.

integer
≥ 0

Rewind transaction execution environment by a number of block heights.

boolean

Require user signature verification when validating transaction metadata.

Body Params
string
required

Stringified JSON payload object. Canonic non-malleable signed transaction data.

string
required

Unpadded Base64URL of Blake2s-256 hash of the cmd field value. Serves as a command requestKey since each transaction must be unique.

sigs
array of objects
required
length ≥ 0

List of signatures corresponding one-to-one with signers array in the payload. Must be present but can be an empty array for unsigned commands.

sigs*
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain