Receipt

User receipts

Receipt Endpoints

Single ( get )

`https://api.unipos.org/receipts/get_single/${txHash}`

Response

body: {
  nativeUsdPrice: number,
  status: number,
  chainId: number,
  txHash: string,
  from: 0x${string},
  to: 0x${string},
  usdAmount: number,
  fee: number,
  fromToken: {
    address: 0x${string},
    symbol: string,
    amount: string,
    decimal: number,
    logoURI: string,
    formattedAmount: string,
  },
  toToken: {
    address: 0x${string},
    symbol: string,
    amount: string,
    decimal: number,
    logoURI: string,
    formattedAmount: string,
  },
  checkout?: {
    title: string
    quantity: number
  },
  gasPrice: string,
  gasUsed: string,
  usdGas: number,
  usdFee: number,
  gasTotal: number,
  //Date
  date: number,
}

Last updated