# SDK API reference

> For the complete documentation index, see [llms.txt](https://bsvblockchain.com/docs/llms.txt).

The SDK API reference lists the methods of the two @bsv/simple wallet objects, BrowserWallet and ServerWallet, with their options, defaults and errors.

import BlueTable from '/snippets/BlueTable.jsx';

The SDK API reference lists every method of the two wallet objects of `@bsv/simple`, a helper library on top of `@bsv/sdk`, with the options, defaults and errors the code shows. Use it to look up a method while you build, and the guides to see how the methods fit together. This page was written against `@bsv/simple` 0.7.2 with `@bsv/sdk` 4.0.1.

## Wallet objects

The two objects share the methods of `WalletCore` and seven modules, and `ServerWallet` adds the deprecated `receivePayment()`. They differ in where your code runs and who holds the key:

<BlueTable>

| Wallet object | Where your code runs | How you create it | Who holds the key |
| --- | --- | --- | --- |
| `BrowserWallet` | A web app | `createWallet()` from `@bsv/simple/browser` | The user's BRC-100 (BSV Request for Comments 100, the standard interface between apps and wallets) wallet |
| `ServerWallet` | Node.js 22 or later | `ServerWallet.create()` from `@bsv/simple/server` | Your server |

</BlueTable>

The Wallet API and the HTTP APIs of BSV blockchain services are in the Reference tab. For the main SDK, `@bsv/sdk`, start from the [TypeScript SDK](https://bsvblockchain.com/docs/sdk/typescript/) page. For the Go SDK, see its [documentation on pkg.go.dev](https://pkg.go.dev/github.com/bsv-blockchain/go-sdk), and for the Python SDK, its [repository on GitHub](https://github.com/bsv-blockchain/py-sdk).

## Next steps

Open the page of the wallet object your code uses:

- [BrowserWallet class](https://bsvblockchain.com/docs/sdk/api/simple/browser-wallet/)
- [ServerWallet class](https://bsvblockchain.com/docs/sdk/api/simple/server-wallet/)