# API References

- [Get Assets](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-assets.md)
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-assets/sample-code.md)
- [Transfer](https://docs-protocol.loopring.io/erc20-tokens/api-references/transfer.md): Sending ERC20 tokens from your Loopring L2 to another Loopring L2 address.
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/transfer/sample-code.md)
- [Submit Order](https://docs-protocol.loopring.io/erc20-tokens/api-references/submit-order.md): Place an order
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/submit-order/sample-code.md)
- [Cancel Order](https://docs-protocol.loopring.io/erc20-tokens/api-references/cancel-order.md): Cancel order using order hash or client-side ID.
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/cancel-order/sample-code.md)
- [Withdraw](https://docs-protocol.loopring.io/erc20-tokens/api-references/withdraw.md): Withdraw ERC20 tokens from your layer2 to address in layer1
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/withdraw/sample-code.md)
- [Get Transactions](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-transactions.md): Get history for deposit, transfer and/or withdraw
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-transactions/sample-code.md)
- [Get Orders](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-orders.md)
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-orders/sample-code.md)
- [Get Trade History](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-trade-history.md)
- [Sample code](https://docs-protocol.loopring.io/erc20-tokens/api-references/get-trade-history/sample-code.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-protocol.loopring.io/erc20-tokens/api-references.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
