Construction
Create a Request to Fetch Metadata
Changed onPreprocess 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
Response
Expected response to a valid request
Changes
- warning
removed the request property
- warning
removed the request property
- warning
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status
- warning