---
updatedAt: 2026-05-27T08:52:35.000Z
agentTools:
  projectIndex: https://docs.tatum.io/llms.txt
---

# Get actual Blockchain fee

<p style="display: none">/v3/xrp/fee</p>
<h4>5 credits per API call.</h4><br/>
<p>Get XRP Blockchain fee. Standard fee for the transaction is available in the drops.base_fee section and is 10 XRP drops by default.
When there is a heavy traffic on the blockchain, fees are increasing according to current traffic.</p>


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "servers": [
    {
      "url": "https://api.tatum.io"
    }
  ],
  "info": {
    "version": "3.18.3",
    "title": "Blockchain"
  },
  "paths": {
    "/v3/xrp/fee": {
      "get": {
        "description": "<p style=\"display: none\">/v3/xrp/fee</p>\n<h4>5 credits per API call.</h4><br/>\n<p>Get XRP Blockchain fee. Standard fee for the transaction is available in the drops.base_fee section and is 10 XRP drops by default.\nWhen there is a heavy traffic on the blockchain, fees are increasing according to current traffic.</p>\n",
        "operationId": "XrpGetFee",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/XrpFee"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "403": {
            "description": "Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error403XrpFailed"
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          }
        },
        "security": [
          {
            "X-API-Key": []
          }
        ],
        "x-codeSamples": [],
        "summary": "Get actual Blockchain fee",
        "tags": [
          "Ripple (XRP) - Tatum API"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Error401Invalid": {
        "properties": {
          "errorCode": {
            "example": "subscription.invalid",
            "description": "subscription.invalid",
            "type": "string"
          },
          "message": {
            "example": "Unable to find valid subscription for '${apiKey}'",
            "description": "Unable to find valid subscription for '${apiKey}'",
            "type": "string"
          },
          "statusCode": {
            "example": 401,
            "description": "401",
            "type": "number"
          }
        },
        "required": [
          "errorCode",
          "message",
          "statusCode"
        ],
        "type": "object"
      },
      "Error401NotActive": {
        "properties": {
          "errorCode": {
            "example": "subscription.not.active",
            "description": "subscription.not.active",
            "type": "string"
          },
          "message": {
            "example": "Subscription not active anymore.",
            "description": "Subscription not active anymore.",
            "type": "string"
          },
          "statusCode": {
            "example": 401,
            "description": "401",
            "type": "number"
          }
        },
        "required": [
          "errorCode",
          "message",
          "statusCode"
        ],
        "type": "object"
      },
      "Error403XrpFailed": {
        "properties": {
          "errorCode": {
            "description": "xrp.failed",
            "example": "xrp.failed",
            "type": "string"
          },
          "message": {
            "description": "Unable to communicate with blockchain. ${error}",
            "example": "Unable to communicate with blockchain. ${error}",
            "type": "string"
          },
          "statusCode": {
            "description": "403",
            "example": 403,
            "type": "number"
          }
        },
        "required": [
          "errorCode",
          "message",
          "statusCode"
        ],
        "type": "object"
      },
      "Error500": {
        "properties": {
          "message": {
            "example": "Internal server error",
            "description": "Internal server error",
            "type": "string"
          },
          "statusCode": {
            "example": 500,
            "description": "500",
            "type": "number"
          }
        },
        "required": [
          "statusCode",
          "message"
        ],
        "type": "object"
      },
      "XrpFee": {
        "type": "object",
        "properties": {
          "current_ledger_size": {
            "type": "string",
            "description": "Number of transactions provisionally included in the in-progress ledger.",
            "example": "8"
          },
          "current_queue_size": {
            "type": "string",
            "description": "Number of transactions currently queued for the next ledger.",
            "example": "0"
          },
          "drops": {
            "description": "Various information about the transaction cost (the Fee field of a transaction), in drops of XRP.",
            "properties": {
              "base_fee": {
                "type": "string",
                "description": "The transaction cost required for a reference transaction to be included in a ledger under minimum load, represented in drops of XRP.",
                "example": "10"
              },
              "median_fee": {
                "type": "string",
                "description": "An approximation of the median transaction cost among transactions included in the previous validated ledger, represented in drops of XRP.",
                "example": "5000"
              },
              "minimum_fee": {
                "type": "string",
                "description": "The minimum transaction cost for a reference transaction to be queued for a later ledger, represented in drops of XRP. If greater than base_fee, the transaction queue is full.",
                "example": "10"
              },
              "open_ledger_fee": {
                "type": "string",
                "description": "The minimum transaction cost that a reference transaction must pay to be included in the current open ledger, represented in drops of XRP.",
                "example": "10"
              }
            },
            "type": "object"
          },
          "expected_ledger_size": {
            "type": "string",
            "description": "The approximate number of transactions expected to be included in the current ledger. This is based on the number of transactions in the previous ledger.",
            "example": "67"
          },
          "ledger_current_index": {
            "type": "number",
            "description": "The Ledger Index of the current open ledger these stats describe.",
            "example": 760411
          },
          "levels": {
            "description": "Various information about the transaction cost, in fee levels. The ratio in fee levels applies to any transaction relative to the minimum cost of that particular transaction.",
            "properties": {
              "median_level": {
                "type": "string",
                "description": "The median transaction cost among transactions in the previous validated ledger, represented in fee levels.",
                "example": "128000"
              },
              "minimum_level": {
                "type": "string",
                "description": "The minimum transaction cost required to be queued for a future ledger, represented in fee levels.",
                "example": "256"
              },
              "open_ledger_level": {
                "type": "string",
                "description": "The minimum transaction cost required to be included in the current open ledger, represented in fee levels.",
                "example": "256"
              },
              "reference_level": {
                "type": "string",
                "description": "The equivalent of the minimum transaction cost, represented in fee levels.",
                "example": "256"
              }
            },
            "type": "object"
          },
          "max_queue_size": {
            "type": "string",
            "description": "The maximum number of transactions that the transaction queue can currently hold.",
            "example": "2000"
          }
        }
      }
    },
    "responses": {
      "Error401": {
        "description": "Unauthorized. Not valid or inactive subscription key present in the HTTP Header.",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/Error401NotActive"
                },
                {
                  "$ref": "#/components/schemas/Error401Invalid"
                }
              ]
            }
          }
        }
      },
      "Error500": {
        "description": "Internal server error. There was an error on the server during the processing of the request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error500"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "X-API-Key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "description": "Your **API key** is used to identify your account & your plan, including the number of API calls per second and total monthly calls you have.\n\nEach key is for individual use only.\n\nIf you don't have a key already you can [Sign up for a Free Tatum account](https://co.tatum.io/signup) to get two keys (testnet and mainnet), allowing up to 5 API calls per second and 1,000,000 Credits.\n\nFor testing purposes, you can use the following key which only works inside docs and has limited functionality (e.g. you cannot create virtual accounts or notification subscriptions with it):\n* t-66a730ccccfd17001c479705-2f597d14ad7543f289a03418\n\nFor more details on limits and plans, [click here](https://docs.tatum.io/docs/plans-limits).\n"
      }
    }
  }
}
```