SailorClient
import { SailorClient } from "@sail.money/sailor/sdk";
const client = new SailorClient({
rpcUrl: "https://...",
chainId: 8453,
kernel: "0x38b508756c976e876EFF05a29E731A4d348BA6ED", // required for on-chain ops
mandateFactory: "0x6d2C802ffa0d9A8Ed69A5Bf22c1b63ccB566B8Fc", // for bundled attach flows
});
const caps = await client.capabilities(); // detect dispatch model + EIP-712 shapeNamespaces
client.account
client.accountMethod
Description
client.mandate
client.mandateMethod
Description
client.dispatch
client.dispatchMethod
Description
client.strategy
client.strategyMethod
Description
client.session
client.sessionclient.fees
client.feesclient.principal
client.principalclient.capabilities()
client.capabilities()Keyrings
Last updated

