Ramp at Ramp.com is a business finance platform for corporate cards, expenses, bill payments, and accounting workflows. Ramp Network is a separate crypto service, while a crypto on-ramp is the general term for converting traditional currency into crypto. If you’re looking at a wallet’s Buy screen rather than an employer’s expense app, the crypto meaning is the relevant one. This guide explains both meanings and shows how to check a direct token delivery against a blockchain transaction receipt.
The meanings of Ramp
If you searched ¿qué es Ramp? after receiving a company card or being asked for an expense receipt, you probably mean Ramp’s business finance platform. It combines corporate cards with expense reporting, reimbursements, bill payments, and accounting workflows. In a typical workflow, an employee pays with a company card, attaches a receipt to the expense, and the finance team reviews and categorizes it for accounting. That workflow does not involve funding a crypto wallet.
If you saw Ramp Network in a wallet’s checkout, you are looking at a separate service for buying or selling crypto using traditional payment methods. A lowercase ramp literally translates to rampa in Spanish. In crypto, on-ramp and off-ramp borrow the idea of an entrance and an exit. They describe the direction of a conversion, not a particular company.
The money flows behind on-ramps and off-ramps
A crypto on-ramp converts fiat currency, such as dollars or euros, into a crypto asset. In a wallet checkout, the user typically selects an asset and network, reviews a quote, completes any required identity checks, and pays through an offered method. The provider handles the purchase and arranges delivery to the destination. The methods, assets, fees, and eligibility rules depend on the provider and the specific route.
An off-ramp runs in the opposite direction: the user sends crypto as instructed, the service converts it, and a fiat payout goes to the selected destination. A blockchain receipt can establish that the crypto leg executed, but not that a bank credited the payout. Similarly, an approved card payment on an on-ramp is not proof that crypto reached the wallet. Payment processing and blockchain delivery are separate events.
Prerequisites for checking a wallet delivery
The diagnostic below is for a direct ERC-20 token delivery to a wallet on an EVM chain. Start with a completed test order or a historical order you have permission to inspect. Obtain the delivery transaction hash, expected chain ID, destination address, and token contract address. Verify the contract independently from a trusted asset reference for that chain: the same token symbol can refer to different contracts. An address can also look identical on two EVM chains.
For an amount check, use the expected net delivery after fees, expressed as an integer in the token’s smallest units. If the provider specifies a minimum rather than an exact amount, use that minimum. You’ll also need curl, Node.js 18 or later, and a read-capable RPC endpoint for that chain. The network directory and RPC API service overview are starting points for selecting the correct chain and understanding endpoint access. This procedure does not submit a transaction and requires no wallet private key.
RPC chain identity check
Set RPC_URL to your endpoint, then request eth_chainId. Compare the result with the chain ID in the delivery record or your trusted chain reference. EVM JSON-RPC returns this value in hexadecimal, so a decimal value in your records may look different even when it represents the same chain. A successful HTTP response is not enough: inspect the JSON for a result rather than an error.
export RPC_URL='REPLACE_WITH_RPC_URL'
curl -fsS --max-time 15 "$RPC_URL" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'Receipt and token transfer verification
Save the following as verify-delivery.mjs. Export TX_HASH, EXPECTED_CHAIN_ID (decimal or 0x-prefixed), TOKEN_ADDRESS, RECIPIENT, and MIN_RAW_AMOUNT, then run node verify-delivery.mjs in the same shell. Use a positive integer for MIN_RAW_AMOUNT, without decimal points or separators. The script checks chain identity, execution status, and the sum of matching standard ERC-20 Transfer events in the receipt.
Use the token contract and event recipient, not the receipt’s transaction to field. The transaction may call a distributor contract even though an event records a transfer to the customer. This script checks a minimum; when the order promises an exact amount, compare the printed total with that amount separately.
import assert from 'node:assert/strict';
const { RPC_URL, TX_HASH, EXPECTED_CHAIN_ID, TOKEN_ADDRESS, RECIPIENT, MIN_RAW_AMOUNT } = process.env;
const address = /^0x[0-9a-f]{40}$/i;
assert(RPC_URL, 'Set RPC_URL');
assert(/^0x[0-9a-f]{64}$/i.test(TX_HASH ?? ''), 'Set a valid TX_HASH');
assert(/^(?:[0-9]+|0x[0-9a-f]+)$/i.test(EXPECTED_CHAIN_ID ?? ''), 'Set EXPECTED_CHAIN_ID');
assert(address.test(TOKEN_ADDRESS ?? '') && address.test(RECIPIENT ?? ''), 'Set valid token and recipient addresses');
assert(/^[1-9][0-9]*$/.test(MIN_RAW_AMOUNT ?? ''), 'Set a positive MIN_RAW_AMOUNT');
async function rpc(method, params = []) {
const response = await fetch(RPC_URL, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ jsonrpc: '2.0', id: 1, method, params }),
signal: AbortSignal.timeout(15_000)
});
if (!response.ok) throw new Error(`HTTP ${response.status} for ${method}`);
const body = await response.json();
if (body.error || !('result' in body)) throw new Error(`Invalid RPC result for ${method}: ${body.error?.code ?? 'missing result'}`);
return body.result;
}
const chain = await rpc('eth_chainId');
assert.equal(BigInt(chain), BigInt(EXPECTED_CHAIN_ID), 'Wrong RPC chain');
const receipt = await rpc('eth_getTransactionReceipt', [TX_HASH]);
assert(receipt, 'No receipt visible for this hash on this chain');
assert.equal(receipt.status, '0x1', 'Transaction did not execute successfully');
assert.equal(receipt.transactionHash.toLowerCase(), TX_HASH.toLowerCase());
const transferTopic = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef';
const recipientTopic = '0x' + RECIPIENT.slice(2).toLowerCase().padStart(64, '0');
const matches = receipt.logs.filter(log =>
!log.removed && log.address.toLowerCase() === TOKEN_ADDRESS.toLowerCase() &&
log.topics.length === 3 && log.topics[0].toLowerCase() === transferTopic &&
log.topics[2].toLowerCase() === recipientTopic && /^0x[0-9a-f]{64}$/i.test(log.data)
);
const total = matches.reduce((sum, log) => sum + BigInt(log.data), 0n);
assert(total >= BigInt(MIN_RAW_AMOUNT), `Matching transfer total below minimum: ${total}`);
console.log(JSON.stringify({ chain, blockNumber: receipt.blockNumber, blockHash: receipt.blockHash, matchingEvents: matches.length, rawAmount: total.toString() }, null, 2));Expected evidence and reconciliation records
A passing run prints the chain, block number and hash, matching event count, and raw amount. It means the RPC returned a successful receipt with matching transfer events at the time of the check. It does not establish irreversible settlement or prove that a particular order caused those events. Bind the hash to an order using the provider’s delivery record, then apply the chain-specific confirmation or finality policy before marking the delivery settled. If you recheck before settlement, compare the block hash as well as the transaction hash to detect a change in inclusion.
Use one row per order and keep the payment and delivery observations separate. Record timestamps in UTC. If you measure time to receipt or finality, label it as first observed and record the polling interval: the event may have happened between polls. Use not observed for a missing milestone rather than treating it as zero elapsed time.
| Order reference | Provider payment state and UTC time | Chain ID and delivery hash | First receipt seen in UTC | Matching raw amount | Finality rule and first observed time |
|---|---|---|---|---|---|
| Record from the order | Record from the provider | Record from the delivery record | Record from RPC polling | Record from receipt check | Record the rule and the observation |
Common mismatches between checkout and wallet
If the provider shows payment approved but has not issued a hash, investigate the order state first. An RPC endpoint cannot search the provider’s internal queue or determine whether an identity review is pending. If there is a hash but RPC returns a null receipt, confirm the chain and hash. The transaction may not yet be included, or the endpoint may not yet see it. Retry on a bounded schedule and escalate unresolved orders with the order reference rather than asking the user to pay again.
If the receipt succeeded but the script finds no qualifying transfer, check the token contract, recipient, and whether the hash refers to delivery rather than an intermediate step. For a smaller amount than expected, compare raw units and the order’s net amount after fees. If the transfer checks out but the wallet shows no balance, inspect the wallet’s selected network and token display settings. A historical transfer event also does not prove the wallet still holds the tokens.
Verification limits and integration tradeoffs
The script is not a universal settlement checker. Native currency, non-EVM assets, custodial credits, and deliveries split across transactions require different evidence. A batched transaction can contain transfers unrelated to the order, even for the same recipient and token, so use explicit order-to-transfer mapping when the receipt alone is ambiguous.
A hosted checkout lets the provider handle payment collection and any required identity checks. An embedded checkout can keep more of the journey inside a wallet, but your app still needs to surface pending states and reconcile the result. In either case, prefer authenticated provider notifications or authenticated server-side order lookups over browser redirects as proof of order status. Treat repeated notifications idempotently, and keep order state separate from on-chain verification.
A production readiness checklist
Start with one asset and one chain. Test a successful delivery, an order with no hash, a wrong-chain configuration, and a receipt without the expected transfer. For an off-ramp, add a separate fiat payout check. Give support staff the order reference, chain ID, and transaction hash where available, but keep payment details and RPC credentials out of logs.
Estimate RPC usage from the number of outstanding orders, your polling interval, and your finality checks before comparing RPC plan limits and pricing. If you need operational control over node configuration or capacity, evaluate dedicated node hosting against that measured workload. For broader background on the infrastructure used in this workflow, see the OnFinality Learn technical library.