postSendCommand

Asynchronous submission of one or more public (unencrypted) commands to the blockchain for execution.

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

Body Params
cmds
array of objects
required
length ≥ 1
cmds*

Represents a single blockchain Pact transaction.

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