Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
TypeScript
import { TxAgentKitClient } from '@tx-agent-kit/sdk' const client = new TxAgentKitClient({ token: process.env.TX_AGENT_KIT_TOKEN }) const response = await client.billing.getCreditHistory({ organizationId: process.env.TX_AGENT_KIT_ORGANIZATION_ID ?? "organizationId", query: {}, })
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "amountDecimillicents": 123, "reason": "<string>", "referenceId": "<string>", "balanceAfter": 123, "createdAt": "<string>" } ], "cursor": "<string>", "hasMore": true }
Success
Show child attributes