Skip to main content

Function: toChainDto()

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / toChainDto

Function: toChainDto()

toChainDto(message): Record<string, unknown>

Defined in: packages/gswap-sdk/dist/index.d.ts:1195

Reduces an EIP-712 approval message to the DTO the chain actually receives: drops the signing envelope (signature, prefix, types, domain) and transport metadata (trace).

Parameters​

message​

Record<string, unknown>

Returns​

Record<string, unknown>