> ## Documentation Index
> Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ApproveTransaction

Decoded details for a token spending approval

Implements: [`DecodedDetails`](/api-reference/streaming-api/types/decoded-details)

## Fields

<ResponseField name="type" type="enum">
  Enum value identifying the transaction type

  Type: [`TransactionType`](/api-reference/streaming-api/types/transaction-type)
</ResponseField>

<ResponseField name="amount" type="string">
  Amount of tokens approved for spending
</ResponseField>

<ResponseField name="quote_usd" type="float">
  Total USD value of the approved amount
</ResponseField>

<ResponseField name="quote_rate_usd" type="float">
  USD price per token at time of approval
</ResponseField>

<ResponseField name="spender" type="string">
  Address of the approved spender
</ResponseField>

<ResponseField name="contract_metadata" type="object">
  Metadata for the approved token contract

  Type: [`TokenContractMetadata`](/api-reference/streaming-api/types/token-contract-metadata)

  <Expandable title="properties">
    <ResponseField name="contract_name" type="string">
      Name of the token contract
    </ResponseField>

    <ResponseField name="contract_address" type="string">
      Address of the token contract
    </ResponseField>

    <ResponseField name="contract_decimals" type="int">
      Number of decimal places for the token
    </ResponseField>

    <ResponseField name="contract_ticker_symbol" type="string">
      Ticker symbol of the token
    </ResponseField>
  </Expandable>
</ResponseField>
