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

# getAsset

> Fetch one asset by mint id. Returns `null` in `result` when metadata is not found.




## OpenAPI

````yaml openapi-spec/solana-rpc/getAsset.yaml post /
openapi: 3.0.3
info:
  title: Raze Solana RPC — getAsset (DAS)
  description: >
    Helius-compatible DAS method. Returns a Digital Asset Standard envelope for
    a token mint.


    Served locally by the gateway from Raze History
    (`/api/sol/tokens/metadata/{id}`), not proxied to Helius.


    Use `POST /` or the public alias `POST /solana` on any regional gateway.
  version: 1.0.0
servers:
  - url: https://rpc.raze.bot
    description: Raze global RPC edge — GeoDNS routes to the nearest region automatically
security: []
paths:
  /:
    post:
      summary: getAsset
      description: >
        Fetch one asset by mint id. Returns `null` in `result` when metadata is
        not found.
      operationId: getAsset
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Request'
            examples:
              default:
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getAsset
                  params:
                    id: So11111111111111111111111111111111111111112
      responses:
        '200':
          description: JSON-RPC response
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/SuccessResponse'
                  - $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    Request:
      type: object
      required:
        - jsonrpc
        - method
        - params
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
          example: '2.0'
        id:
          oneOf:
            - type: integer
            - type: string
          example: 1
        method:
          type: string
          enum:
            - getAsset
          example: getAsset
        params:
          type: object
          required:
            - id
          properties:
            id:
              type: string
              description: Asset / mint address (base58)
              example: So11111111111111111111111111111111111111112
    SuccessResponse:
      type: object
      required:
        - jsonrpc
        - result
      properties:
        jsonrpc:
          type: string
          example: '2.0'
        result: {}
        id:
          oneOf:
            - type: integer
            - type: string
          example: 1
    ErrorResponse:
      type: object
      required:
        - jsonrpc
        - error
      properties:
        jsonrpc:
          type: string
          example: '2.0'
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: integer
              example: -32602
            message:
              type: string
        id:
          oneOf:
            - type: integer
            - type: string
          example: 1

````