Creating offer by Chia RPC API

I would like create offer by Chia RPC API,
but it is a some gap about Chia RPC API documentation.

  • 12.1
  • 12.2
  • ?
  • ?
  • 12.5
  • 12.6

In another site i found function create_offer_for_ids(agent, params)
( chia-agent/ at main · Chia-Mine/chia-agent · GitHub )
but i don’t know how to use it.

Maybe someone can show some example ? :slight_smile:


offer: Record<int, int>;
fee?: uint64;
validate_only?: bool;
driver_dict?: TDriverDict;
min_coin_amount?: uint64;

Please use markdown for your code blocks: Basic Syntax | Markdown Guide

This might be useful for you: Chia RPC

1 Like

To create an offer via Chia RPC, the json payload should look like this:

    "offer": {
        "1": -1000000000000,
        "2": 1000
    "fee": 50000000

Above is the offer of 1 XCH (1 trillion mojo) for 1 CAT. 1 and 2 are your wallet id. For NFT, you can replace the wallet id with the launcher id instead.


Hi, is there any way to request nft?
chia just set the requested launcher_id as cat id… :sweat_smile: