Skip to main content

Chains

SDK methods for the Chains module, accessed via soat.chains. See the Chains module docs for permissions and data model, and each method's REST page for the full request/response schema.

soat.chains.listChains()​

List continuation chains

  • Method: GET
  • Path: /api/v1/chains
await soat.chains.listChains({
query: { /* + optional */ },
});

→ Request & response schema

soat.chains.getChain()​

Get a continuation chain

  • Method: GET
  • Path: /api/v1/chains/{chain_id}
await soat.chains.getChain({
path: { chain_id },
});

→ Request & response schema