N

Nsgoods · Settle

by Nsgoods

GETBase

$0.01

per call · USD Coin on Base

Signed Solana settlement verification (did tx credit amount of mint to payee)

Endpoint

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

4

Calls / 30d

3

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.nsgoods.org/settle", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.nsgoods.org/settle?amount=415803&mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&payee=8SfS2XEedD595GqpNGjgYpRhSAUidThXQHznExpbDwEX&tx=5ygvXjuYao3MtHQkWzBvgXxjg9vWAoG6rMM6qVjPDLym1Qi3MtaGaWBS2hpMCp56TW7yUpP7pqaimBb6LiLTiiGu" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0xc87a06dee4c0e85912296002617120bbfd5ef990
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Nsgoods & similar services