Options
All
  • Public
  • Public/Protected
  • All
Menu

The output from payload signing. Is used by the Nash Matching Engine to validate the authenticity of requests.

A PayloadSignature may optionally contain a blockchain movement, which is needed for certain operations that interact with the blockchain, such as order placement. For such requests, the payload should include appropriate blockchain signatures.

Refer to the documentation for signPayload.ts.

Hierarchy

  • PayloadSignature

Index

Properties

Optional Readonly blockchainMovement

blockchainMovement: BlockchainMovement

Optional Readonly blockchainRaw

blockchainRaw: any

Optional Readonly canonicalString

canonicalString: undefined | string

Readonly payload

payload: Record<string, any>

The payload being signed with optional embedded blockchain signatures.

At a bare minimum, a timestamp is required. For operations involving blockchain, a blockchain_signatures array is also required.

todo

Better instructions needed for how to use blockchain signatures.

property

timestamp Current timestamp in milliseconds.

property

blockchain_signatures An array of blockchain signatures.

Readonly signature

signature: string

Legend

  • Property

Generated using TypeDoc