# NETSHOPPING::_CASHINVENTORY_TRANSACTION_GET_BASKET_IS_VALID

- **Hash:** `0x52A226ADF4A270D2`
- **Namespace:** NETSHOPPING
- **Runtime name (Lua/JS):** `CashinventoryTransactionGetBasketIsValid`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETSHOPPING/_CASHINVENTORY_TRANSACTION_GET_BASKET_IS_VALID

## Signature

```c
BOOL _CASHINVENTORY_TRANSACTION_GET_BASKET_IS_VALID(int id);
```

## Parameters

- `id` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = CashinventoryTransactionGetBasketIsValid(id)

-- always available, by hash
local retval = Citizen.InvokeNative(0x52A226ADF4A270D2, id, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = CashinventoryTransactionGetBasketIsValid(id);

// by hash
const retval = Citizen.invokeNative('0x52A226ADF4A270D2', id, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x52A226ADF4A270D2, id);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
