Skip to content
Fourohtwo

solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/token_account

Solana associated token account (ATA) address for a wallet and token, whether it exists, and its cost to create. Run before sending a token. Tokens go to the recipient's token account, not their wallet, and models can't work that address out. Finds the token account (ATA) for a wallet and token with the token's real program, says if it exists, and prices creating it.

SolanaBaseAnswering
POSThttps://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/token_account

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/token_account", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"token":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","wallet":"5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"}),
});
console.log(await res.json());

Example input

{
  "token": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "wallet": "5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"
}

More from Solana PulseProvider status