treasury.account
positions:readchainId * safe *
BUILD WITH BITPONT · API 1.2
Bring supported market data, positions and financial actions into your application. Keep exact asset identities, explicit limits and a clear handoff to wallet approval.
A SMALL CLIENT. AN EXPLICIT CONTRACT.
/api/v1/resources for configured adapters and parameter schemas.The SDK has no package dependencies. The bundled client is not published to npm. This release does not offer self-service keys, billing or a public uptime SLA.
import { BitpontClient } from './bitpont-client.mjs';
const bitpont = new BitpontClient({
apiKey: process.env.BITPONT_API_KEY
});
const markets = await bitpont.read(
'hyperliquid.markets', { kind: 'perp' }
);
// Amount is a human-readable USDC string.
const review = await bitpont.prepareTreasury({
chainId: 1,
safe: SAFE_ADDRESS,
owner: OWNER_ADDRESS,
action: 'lending-supply',
amount: '100'
});
// Display the proposal. The owner decides whether to approve.
console.log(review.data.proposal, review.data.reviewUrl);DISCOVER THE EXACT SURFACE
Each resource declares its scope and accepted parameters. Configured adapters can still have unavailable or partial upstream data.
chainId * safe *
chainId * safe *
network * hash *
kind dex
kind dex market *
kind dex market * interval
wallet * user dex
network * cursor expired
network * market * wallet
network * cursor
network * marketId * wallet
network * wallet * skip
network * protocol wallet * tokenId *
network * protocol wallet * cursor
provider * address *
provider * pool * position * wallet *
provider * pool * wallet * fresh
cursor matured
marketId *
wallet *
No parameters
One bounded response · * requiredwallet *
22 resources
FROM INTENT TO OWNER REVIEW
The Treasury endpoint constructs an unsigned Safe proposal for USDC supply, withdrawal, variable-debt repayment or repayment using supplied USDC on Ethereum and Base.
It returns the exact contract calls, Safe nonce and hash, account checks, spending limit, simulation coverage and a Bitpont review link. Following the link makes no wallet request. The owner explicitly loads and reviews the proposal.
POST /api/v1/transactions/treasury/prepare
Required scope: transactions:prepare
RELIABILITY IS PART OF THE CONTRACT
A transaction included in a block is not proof of a protocol fill, finality, or destination delivery. Check the relevant protocol events before advancing a financial workflow.