80trust / 100

Settle

by nsgoods Solana Payment Check in Onchain & crypto

x402 APIPassing, checked 4 h ago

Did this Solana payment really arrive? Verifies that a finalized mainnet transaction credited the exact amount of a token to the payee. Signed VERIFIED, REFUTED, UNCONFIRMED or NOT_FOUND with a per field breakdown. $0.01 in USDC on Base. Free preview: GET /settle/preview

GET https://x402.nsgoods.org/settle

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
646 ms typical, 646 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.nsgoods.org/settle?amount=415803&mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&payee=8SfS2XEedD595GqpNGjgYpRhSAUidThXQHznExpbDwEX&tx=5ygvXjuYao3MtHQkWzBvgXxjg9vWAoG6rMM6qVjPDLym1Qi3MtaGaWBS2hpMCp56TW7yUpP7pqaimBb6LiLTiiGu"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.nsgoods.org%2Fsettle
const res = await pay("https://x402.nsgoods.org/settle?amount=415803&mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&payee=8SfS2XEedD595GqpNGjgYpRhSAUidThXQHznExpbDwEX&tx=5ygvXjuYao3MtHQkWzBvgXxjg9vWAoG6rMM6qVjPDLym1Qi3MtaGaWBS2hpMCp56TW7yUpP7pqaimBb6LiLTiiGu");
console.log(await res.json());

Example input

{
  "amount": "415803",
  "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "payee": "8SfS2XEedD595GqpNGjgYpRhSAUidThXQHznExpbDwEX",
  "tx": "5ygvXjuYao3MtHQkWzBvgXxjg9vWAoG6rMM6qVjPDLym1Qi3MtaGaWBS2hpMCp56TW7yUpP7pqaimBb6LiLTiiGu"
}

Example output

{
  "chain": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
  "commitment": "finalized",
  "schema_version": "settle_v1",
  "signature": "0x00",
  "signer": "0x57fF0F084Cba33e6761503f90eEF0Da9F159350c",
  "slot": 0,
  "verdict": "VERIFIED"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402646 ms$0.01