TpSlSigningSpec
The handler /signing-spec payload — the EIP-712 typed-data domain + schema a TP/SL message is signed against. Returned by getTpSlSigningSpec (POST) and getTpSlDeleteSigningSpec (DELETE), and consumed by signTpSlRequest. Server-published and stable per deployment, so the SDK never hardcodes the schema.
Fields
domain{ name: string; version: string; chainId: number; verifyingContract: Address }EIP-712 domain separator fields.
typesRecord<string, Array<{ name: string; type: string }>>The typed-data type definitions.
primaryTypestringThe root type name to hash (differs between the POST and DELETE specs).
Related
getTpSlSigningSpec/getTpSlDeleteSigningSpec— fetch this.signTpSlRequest— signs against it.
Last updated on