Construction

Create a Request to Fetch Metadata

Changed on

Preprocess is called prior to /construction/payloads to construct a request for any metadata that is needed for transaction construction given (i.e. account nonce).

The options object returned from this endpoint will be sent to the /construction/metadata endpoint UNMODIFIED by the caller (in an offline execution environment). If your Construction API implementation has configuration options, they MUST be specified in the /construction/preprocess request (in the metadata field).

post/construction/preprocess

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

network_identifierNetworkIdentifier required(unresolved $ref)
operationsOperation[] required(unresolved $ref)
metadataobject

Response

Expected response to a valid request

optionsobject

The options that will be sent directly to /construction/metadata by the caller.

required_public_keysAccountIdentifier[] (unresolved $ref)

Changes

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status