POST /v1/wallet/intent
Signature
export const types = {
BuyIntent: [
{ name: "token", type: "address" },
{ name: "amount", type: "uint256" },
{ name: "bribe", type: "uint256" },
{ name: "expiry", type: "uint256" },
{ name: "minIn", type: "uint256" },
],
};
export const domain = {
name: "OPL",
version: "1",
chainId: <>, // use the right chain id
verifyingContract: "0x", // use the right router address for the chain
};Request
Field
Type
Required
Description
Response
Last updated
Was this helpful?