# Buy

Buy a BNCS-20 token from the marketplace

```
{ 
  "p": "bncs-20",
  "op": "buy",
  "ins": "0"
}
```

<table><thead><tr><th width="101">Key</th><th width="112.66666666666666">Required</th><th>Description</th></tr></thead><tbody><tr><td>p</td><td>Yes</td><td>Protocol: Helps other systems identify and process bncs-20 events</td></tr><tr><td>op</td><td>Yes</td><td>Operation: Type of event (Listing, Delisting)</td></tr><tr><td>ins</td><td>Yes</td><td>inscription id to buy from the marketplace</td></tr></tbody></table>

The marketplace indexer will check the amount of BNC sended from this transaction, if efficient amount was sent, the buy order will be executed and the amount of bncs-20 token will be transfered to buyers address in a coming transaction.


---

# 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.bncs.io/bncs-20-protocol/marketplace-wip/buy.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.
