transaction.php
Verifies a Solana transaction and the amount of Solana sent
Verifies the details of a Solana transaction made through SOL Pay
GET
https://solpay.togatech.org/transaction.php
The transaction endpoint takes in two parameters: to
and txid
. The to
parameter is for the recipient address, and the txid
is for the transaction signature (which can be obtained through one of the following transaction functions: sendSolanaLamports, sendSolana, signTransaction). The endpoint returns the sender address and the number of lamports sent.
Query Parameters
Name | Type | Description |
---|---|---|
to* | string | recipient address |
txid* | string | transaction signature |
network | string | mainnet-beta (default), devnet, or testnet |
Example Request:
Last updated