> For the complete documentation index, see [llms.txt](https://docs.rigoblock.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rigoblock.com/solidity-api-reference/protocol/libraries/reentrancyguardtransient.md).

# ReentrancyGuardTransient

## ReentrancyGuardTransient

\_Variant of {ReentrancyGuard} that uses transient storage.

NOTE: This variant only works on networks where EIP-1153 is available.

*Available since v5.1.*\_

### ReentrancyGuardReentrantCall

```solidity
error ReentrancyGuardReentrantCall()
```

*Unauthorized reentrant call.*

### nonReentrant

```solidity
modifier nonReentrant()
```

*Prevents a contract from calling itself, directly or indirectly. Calling a `nonReentrant` function from another `nonReentrant` function is not supported. It is possible to prevent this from happening by making the `nonReentrant` function external, and making it call a `private` function that does the actual work.*

### \_reentrancyGuardEntered

```solidity
function _reentrancyGuardEntered() internal view returns (bool)
```

*Returns true if the reentrancy guard is currently set to "entered", which indicates there is a `nonReentrant` function in the call stack.*
