# Parameters

The `record_battle` method in the `SiriusnetSDK` class takes three parameters:

1. `player_id` (str): This is a unique identifier for each player. It is used to associate the battle record with a specific player on the Siriusnet Blockchain.
2. `game_id` (str): This is a unique identifier for each game. It is used to associate the battle record with a specific game on the Siriusnet Blockchain.
3. `result` (str): This represents the outcome of the battle. It should be a string, either 'win' or 'lose', indicating whether the player won or lost the battle.

These parameters are all required and should be provided as strings. If any of these parameters are missing or invalid, the method will likely throw an exception or return an error.


---

# 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://siriusnetdocs.gitbook.io/doc/sdks-and-apis/games/sdk-documentation/api-reference/record_battle-method/parameters.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.
