⚙️APIs

Integrate Brian in your project via APIs.

Check the Prompt Guide to better prompt on Brian.

Brian API provides endpoints to interact with through English prompts for making web3 interactions.

  • /transaction: get executable transactions from a prompt

  • /knowledge: get a textual response (and the web3 docs used) from a prompt

  • /smart-contracts: get the solidity smart contract code from a prompt

  • /parameters-extraction: get the extracted parameters for the user's intent from a prompt

If you're from the US and experiencing latency issues, try using https://us-api.brianknows.org as the base URL for the APIs. Add /swagger to visit the Swagger page.

Last updated