[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › [c-api](https://evolu.dev/docs/api-reference/sqlite-wasm/c-api) › sqlite3\_get\_auxdata

```ts
function sqlite3_get_auxdata(
  deps: SqliteWasmDep,
): (context: SqliteContextPtr, N: number) => 0 | WasmPtr;
```

Defined in: [packages/sqlite-wasm/src/CApi.ts:2698](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/CApi.ts#L2698)

Returns the auxiliary data [sqlite3\_set\_auxdata](https://evolu.dev/docs/api-reference/sqlite-wasm/c-api/functions/sqlite3_set_auxdata) associated with the
0-based N-th argument of the current function call, or NULL when there is
none or SQLite discarded it.

Wasm type `i(ii)`. Signature `["sqlite3_get_auxdata", "*",
"sqlite3_context*", "int"]` from SQLite's table.

See https://sqlite.org/c3ref/get_auxdata.html.