settlementOrderTypes
このコンテンツはまだ日本語訳がありません。
constsettlementOrderTypes:object
Defined in: src/settlement/order-hash.ts:46
EIP-712 types of the order a payment settles. Exported so that out-of-process and cross-language consumers bind to this exact definition — field order and type strings are part of the hash.
Type Declaration
Order
readonlyOrder: readonly [{name:"token";type:"address"; }, {name:"payer";type:"address"; }, {name:"merchant";type:"address"; }, {name:"amount";type:"uint256"; }, {name:"validUntil";type:"uint64"; }, {name:"details";type:"bytes32"; }]
Example
import { hashTypedData } from "viem";import { settlementOrderTypes } from "kawasekit";
const ref = hashTypedData({ domain, types: settlementOrderTypes, primaryType: "Order", message });