@ecp.eth/sdk / indexer / IndexerAPICommentZeroExSwapSchemaType
Type Alias: IndexerAPICommentZeroExSwapSchemaType
type IndexerAPICommentZeroExSwapSchemaType = {
from: {
address: `0x${string}`;
amount: string;
symbol: string;
};
to: {
address: "" | `0x${string}`;
amount: string;
symbol: string;
};
};Defined in: packages/sdk/src/indexer/schemas.ts:187
Type declaration
from
from: {
address: `0x${string}`;
amount: string;
symbol: string;
};from.address
address: `0x${string}` = HexSchema;from.amount
amount: string = IndexerAPIZeroExTokenAmountSchema;from.symbol
symbol: string;to
to: {
address: "" | `0x${string}`;
amount: string;
symbol: string;
};to.address
address: "" | `0x${string}` = IndexerAPIZeroExSwapPossibleEmptyAddressSchema;to.amount
amount: string = IndexerAPIZeroExSwapPossiblyEmptyTokenAmountSchema;to.symbol
symbol: string;