{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "yddkctoq-nx-link-ai-chat",
  "title": "thirdweb \u00b7 Blockchain LLM Chat",
  "url": "https://yddkctoq.nx.link/ai/chat",
  "category": "ai",
  "summary": "Interact with t0, a blockchain-specialized LLM that understands on-chain context and can execute transactions with proper authorization.",
  "seo": {
    "title": "Blockchain LLM Chat API | thirdweb x402",
    "description": "Chat with t0, thirdweb's blockchain-specialized LLM via x402. Pay 0.003 USDC per call. OpenAI-compatible endpoint with on-chain transaction context on Base."
  },
  "use_cases": [
    "Execute natural language blockchain transactions",
    "Get contextual answers about on-chain activity",
    "Build AI agents that interact with smart contracts",
    "Generate transaction parameters from user descriptions"
  ],
  "ideal_buyer": "Developers building AI agents that need to understand and interact with blockchain state and execute transactions.",
  "example_prompt": "Send 0.01 ETH to vitalik.eth and confirm the transaction details before executing.",
  "example_request_body": {
    "stream": false,
    "context": {
      "from": "0x1234567890123456789012345678901234567890",
      "chain_ids": [
        8453
      ],
      "auto_execute_transactions": false
    },
    "messages": [
      {
        "role": "user",
        "content": "Send 0.01 ETH to vitalik.eth"
      }
    ]
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap",
    "ratio": 0.3,
    "median_category_atomic": 10000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x1c0cc9813b7c136c8f124cbc3c7acd217e141230",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "3000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "thirdweb API https://api.thirdweb.com - POST OpenAI compatible chat completion endpoint to interact with t0, thirdweb's blockchain LLM specialized in blockchain interactions.",
      "verified": false,
      "hints": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Chat Response",
                  "examples": [
                    {
                      "actions": [
                        {
                          "data": {
                            "to": "0x1234567890123456789012345678901234567890",
                            "data": "0x",
                            "value": "10000000000000000",
                            "chain_id": 8453
                          },
                          "type": "sign_transaction",
                          "source": "model",
                          "request_id": "456",
                          "session_id": "123"
                        }
                      ],
                      "message": "I've prepared a native ETH transfer as requested. Would you like to proceed with executing this transfer?",
                      "request_id": "456",
                      "session_id": "123"
                    },
                    {
                      "actions": [
                        {
                          "data": {
                            "transaction_id": "123"
                          },
                          "type": "monitor_transaction",
                          "source": "model",
                          "request_id": "456",
                          "session_id": "123"
                        }
                      ],
                      "message": "I've executed the transaction. It will take a few seconds to confirm.",
                      "request_id": "456",
                      "session_id": "123"
                    }
                  ],
                  "required": [
                    "message",
                    "actions",
                    "session_id",
                    "request_id"
                  ],
                  "properties": {
                    "actions": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "title": "Sign Transaction",
                            "required": [
                              "session_id",
                              "request_id",
                              "type",
                              "data"
                            ],
                            "properties": {
                              "data": {
                                "type": "object",
                                "required": [
                                  "chain_id",
                                  "to",
                                  "value",
                                  "data"
                                ],
                                "properties": {
                                  "to": {
                                    "type": "string"
                                  },
                                  "data": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  },
                                  "chain_id": {
                                    "type": "number"
                                  },
                                  "function": {
                                    "type": "string",
                                    "nullable": true
                                  }
                                }
                              },
                              "type": {
                                "enum": [
                                  "sign_transaction"
                                ],
                                "type": "string"
                              },
                              "source": {
                                "type": "string",
                                "default": "model"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "session_id": {
                                "type": "string"
                              }
                            },
                            "description": "Sign a transaction"
                          },
                          {
                            "type": "object",
                            "title": "Sign Swap",
                            "required": [
                              "session_id",
                              "request_id",
                              "type",
                              "data"
                            ],
                            "properties": {
                              "data": {
                                "type": "object",
                                "required": [
                                  "transaction",
                                  "action",
                                  "intent",
                                  "from_token",
                                  "to_token"
                                ],
                                "properties": {
                                  "action": {
                                    "type": "string",
                                    "nullable": true
                                  },
                                  "intent": {
                                    "type": "object",
                                    "required": [
                                      "origin_chain_id",
                                      "origin_token_address",
                                      "destination_chain_id",
                                      "destination_token_address",
                                      "amount",
                                      "sender",
                                      "receiver",
                                      "maxSteps"
                                    ],
                                    "properties": {
                                      "amount": {
                                        "type": "string"
                                      },
                                      "sender": {
                                        "type": "string"
                                      },
                                      "maxSteps": {
                                        "type": "number"
                                      },
                                      "receiver": {
                                        "type": "string"
                                      },
                                      "origin_chain_id": {
                                        "type": "number"
                                      },
                                      "destination_chain_id": {
                                        "type": "number"
                                      },
                                      "origin_token_address": {
                                        "type": "string"
                                      },
                                      "destination_token_address": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "to_token": {
                                    "type": "object",
                                    "required": [
                                      "address",
                                      "chain_id",
                                      "amount",
                                      "symbol",
                                      "decimals",
                                      "price"
                                    ],
                                    "properties": {
                                      "price": {
                                        "type": "number",
                                        "nullable": true
                                      },
                                      "amount": {
                                        "type": "string"
                                      },
                                      "symbol": {
                                        "type": "string"
                                      },
                                      "address": {
                                        "type": "string"
                                      },
                                      "chain_id": {
                                        "type": "number"
                                      },
                                      "decimals": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "from_token": {
                                    "type": "object",
                                    "required": [
                                      "address",
                                      "chain_id",
                                      "amount",
                                      "symbol",
                                      "decimals",
                                      "price"
                                    ],
                                    "properties": {
                                      "price": {
                                        "type": "number",
                                        "nullable": true
                                      },
                                      "amount": {
                                        "type": "string"
                                      },
                                      "symbol": {
                                        "type": "string"
                                      },
                                      "address": {
                                        "type": "string"
                                      },
                                      "chain_id": {
                                        "type": "number"
                                      },
                                      "decimals": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "transaction": {
                                    "type": "object",
                                    "required": [
                                      "chain_id",
                                      "to",
                                      "value",
                                      "data"
                                    ],
                                    "properties": {
                                      "to": {
                                        "type": "string"
                                      },
                                      "data": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      },
                                      "chain_id": {
                                        "type": "number"
                                      },
                                      "function": {
                                        "type": "string",
                                        "nullable": true
                                      }
                                    }
                                  }
                                }
                              },
                              "type": {
                                "enum": [
                                  "sign_swap"
                                ],
                                "type": "string"
                              },
                              "source": {
                                "type": "string",
                                "default": "model"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "session_id": {
                                "type": "string"
                              }
                            },
                            "description": "Sign a swap"
                          },
                          {
                            "type": "object",
                            "title": "Monitor Transaction",
                            "required": [
                              "session_id",
                              "request_id",
                              "type",
                              "data"
                            ],
                            "properties": {
                              "data": {
                                "type": "object",
                                "required": [
                                  "transaction_id"
                                ],
                                "properties": {
                                  "transaction_id": {
                                    "type": "string"
                                  }
                                }
                              },
                              "type": {
                                "enum": [
                                  "monitor_transaction"
                                ],
                                "type": "string"
                              },
                              "source": {
                                "type": "string",
                                "default": "model"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "session_id": {
                                "type": "string"
                              }
                            },
                            "description": "Monitor a transaction"
                          }
                        ]
                      }
                    },
                    "message": {
                      "type": "string",
                      "description": "The AI assistant's response"
                    },
                    "request_id": {
                      "type": "string"
                    },
                    "session_id": {
                      "type": "string"
                    }
                  },
                  "description": "Chat response"
                }
              },
              "text/event-stream": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "title": "Message",
                      "required": [
                        "event",
                        "v"
                      ],
                      "properties": {
                        "v": {
                          "type": "string"
                        },
                        "event": {
                          "enum": [
                            "delta"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Text delta chunk"
                    },
                    {
                      "type": "object",
                      "title": "Action",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "oneOf": [
                            {
                              "type": "object",
                              "title": "Sign Transaction",
                              "required": [
                                "session_id",
                                "request_id",
                                "type",
                                "data"
                              ],
                              "properties": {
                                "data": {
                                  "type": "object",
                                  "required": [
                                    "chain_id",
                                    "to",
                                    "value",
                                    "data"
                                  ],
                                  "properties": {
                                    "to": {
                                      "type": "string"
                                    },
                                    "data": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    },
                                    "chain_id": {
                                      "type": "number"
                                    },
                                    "function": {
                                      "type": "string",
                                      "nullable": true
                                    }
                                  }
                                },
                                "type": {
                                  "enum": [
                                    "sign_transaction"
                                  ],
                                  "type": "string"
                                },
                                "source": {
                                  "type": "string",
                                  "default": "model"
                                },
                                "request_id": {
                                  "type": "string"
                                },
                                "session_id": {
                                  "type": "string"
                                }
                              },
                              "description": "Sign a transaction"
                            },
                            {
                              "type": "object",
                              "title": "Sign Swap",
                              "required": [
                                "session_id",
                                "request_id",
                                "type",
                                "data"
                              ],
                              "properties": {
                                "data": {
                                  "type": "object",
                                  "required": [
                                    "transaction",
                                    "action",
                                    "intent",
                                    "from_token",
                                    "to_token"
                                  ],
                                  "properties": {
                                    "action": {
                                      "type": "string",
                                      "nullable": true
                                    },
                                    "intent": {
                                      "type": "object",
                                      "required": [
                                        "origin_chain_id",
                                        "origin_token_address",
                                        "destination_chain_id",
                                        "destination_token_address",
                                        "amount",
                                        "sender",
                                        "receiver",
                                        "maxSteps"
                                      ],
                                      "properties": {
                                        "amount": {
                                          "type": "string"
                                        },
                                        "sender": {
                                          "type": "string"
                                        },
                                        "maxSteps": {
                                          "type": "number"
                                        },
                                        "receiver": {
                                          "type": "string"
                                        },
                                        "origin_chain_id": {
                                          "type": "number"
                                        },
                                        "destination_chain_id": {
                                          "type": "number"
                                        },
                                        "origin_token_address": {
                                          "type": "string"
                                        },
                                        "destination_token_address": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "to_token": {
                                      "type": "object",
                                      "required": [
                                        "address",
                                        "chain_id",
                                        "amount",
                                        "symbol",
                                        "decimals",
                                        "price"
                                      ],
                                      "properties": {
                                        "price": {
                                          "type": "number",
                                          "nullable": true
                                        },
                                        "amount": {
                                          "type": "string"
                                        },
                                        "symbol": {
                                          "type": "string"
                                        },
                                        "address": {
                                          "type": "string"
                                        },
                                        "chain_id": {
                                          "type": "number"
                                        },
                                        "decimals": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    "from_token": {
                                      "type": "object",
                                      "required": [
                                        "address",
                                        "chain_id",
                                        "amount",
                                        "symbol",
                                        "decimals",
                                        "price"
                                      ],
                                      "properties": {
                                        "price": {
                                          "type": "number",
                                          "nullable": true
                                        },
                                        "amount": {
                                          "type": "string"
                                        },
                                        "symbol": {
                                          "type": "string"
                                        },
                                        "address": {
                                          "type": "string"
                                        },
                                        "chain_id": {
                                          "type": "number"
                                        },
                                        "decimals": {
                                          "type": "number"
                                        }
                                      }
                                    },
                                    "transaction": {
                                      "type": "object",
                                      "required": [
                                        "chain_id",
                                        "to",
                                        "value",
                                        "data"
                                      ],
                                      "properties": {
                                        "to": {
                                          "type": "string"
                                        },
                                        "data": {
                                          "type": "string"
                                        },
                                        "value": {
                                          "type": "string"
                                        },
                                        "chain_id": {
                                          "type": "number"
                                        },
                                        "function": {
                                          "type": "string",
                                          "nullable": true
                                        }
                                      }
                                    }
                                  }
                                },
                                "type": {
                                  "enum": [
                                    "sign_swap"
                                  ],
                                  "type": "string"
                                },
                                "source": {
                                  "type": "string",
                                  "default": "model"
                                },
                                "request_id": {
                                  "type": "string"
                                },
                                "session_id": {
                                  "type": "string"
                                }
                              },
                              "description": "Sign a swap"
                            },
                            {
                              "type": "object",
                              "title": "Monitor Transaction",
                              "required": [
                                "session_id",
                                "request_id",
                                "type",
                                "data"
                              ],
                              "properties": {
                                "data": {
                                  "type": "object",
                                  "required": [
                                    "transaction_id"
                                  ],
                                  "properties": {
                                    "transaction_id": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "type": {
                                  "enum": [
                                    "monitor_transaction"
                                  ],
                                  "type": "string"
                                },
                                "source": {
                                  "type": "string",
                                  "default": "model"
                                },
                                "request_id": {
                                  "type": "string"
                                },
                                "session_id": {
                                  "type": "string"
                                }
                              },
                              "description": "Monitor a transaction"
                            }
                          ]
                        },
                        "event": {
                          "enum": [
                            "action"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Action to be executed by the user"
                    },
                    {
                      "type": "object",
                      "title": "Presence",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "required": [
                            "session_id",
                            "request_id",
                            "type",
                            "data"
                          ],
                          "properties": {
                            "data": {
                              "type": "string"
                            },
                            "type": {
                              "enum": [
                                "presence"
                              ],
                              "type": "string"
                            },
                            "source": {
                              "type": "string",
                              "default": "model"
                            },
                            "request_id": {
                              "type": "string"
                            },
                            "session_id": {
                              "type": "string"
                            }
                          }
                        },
                        "event": {
                          "enum": [
                            "presence"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Check the agent's chain of thought"
                    },
                    {
                      "type": "object",
                      "title": "Session ID",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "required": [
                            "session_id",
                            "request_id",
                            "type"
                          ],
                          "properties": {
                            "type": {
                              "enum": [
                                "init"
                              ],
                              "type": "string"
                            },
                            "source": {
                              "type": "string",
                              "default": "model"
                            },
                            "request_id": {
                              "type": "string"
                            },
                            "session_id": {
                              "type": "string"
                            }
                          }
                        },
                        "event": {
                          "enum": [
                            "init"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Session ID"
                    },
                    {
                      "type": "object",
                      "title": "Context",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "networks": {
                              "enum": [
                                "all",
                                "mainnet",
                                "testnet"
                              ],
                              "type": "string",
                              "nullable": true
                            },
                            "chain_ids": {
                              "type": "array",
                              "items": {
                                "type": "number"
                              },
                              "nullable": true
                            },
                            "session_id": {
                              "type": "string",
                              "nullable": true
                            },
                            "wallet_address": {
                              "type": "string",
                              "nullable": true
                            }
                          }
                        },
                        "event": {
                          "enum": [
                            "context"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Context"
                    },
                    {
                      "type": "object",
                      "title": "Image",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "object",
                          "required": [
                            "url",
                            "width",
                            "height"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "width": {
                              "type": "number"
                            },
                            "height": {
                              "type": "number"
                            }
                          }
                        },
                        "event": {
                          "enum": [
                            "image"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Render an image"
                    },
                    {
                      "type": "object",
                      "title": "Done",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "boolean"
                        },
                        "event": {
                          "enum": [
                            "done"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Done"
                    },
                    {
                      "type": "object",
                      "title": "Error",
                      "required": [
                        "event",
                        "data"
                      ],
                      "properties": {
                        "data": {
                          "type": "string"
                        },
                        "event": {
                          "enum": [
                            "error"
                          ],
                          "type": "string"
                        }
                      },
                      "description": "Error"
                    }
                  ]
                }
              }
            },
            "description": "AI assistant response or SSE stream when stream=true"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "title": "Chat Request",
                "example": {
                  "stream": false,
                  "context": {
                    "from": "0x1234567890123456789012345678901234567890",
                    "chain_ids": [
                      8453
                    ]
                  },
                  "messages": [
                    {
                      "role": "user",
                      "content": "Send 0.01 ETH to vitalik.eth"
                    }
                  ]
                },
                "required": [
                  "messages"
                ],
                "properties": {
                  "stream": {
                    "type": "boolean",
                    "description": "Enable server streaming of the AI response"
                  },
                  "context": {
                    "type": "object",
                    "properties": {
                      "from": {
                        "type": "string",
                        "description": "Optional wallet address that will execute transactions"
                      },
                      "chain_ids": {
                        "type": "array",
                        "items": {
                          "type": "number"
                        },
                        "description": "Optional chain IDs for context"
                      },
                      "session_id": {
                        "type": "string",
                        "nullable": true,
                        "description": "Optional session ID for conversation continuity. If not provided, a new session will be created"
                      },
                      "auto_execute_transactions": {
                        "type": "boolean",
                        "default": false,
                        "description": "Whether to automatically execute transactions. If not provided, the default is false"
                      }
                    },
                    "description": "Context for the AI assistant"
                  },
                  "messages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "role",
                        "content"
                      ],
                      "properties": {
                        "role": {
                          "enum": [
                            "user",
                            "assistant",
                            "system",
                            "tool"
                          ],
                          "type": "string"
                        },
                        "content": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "title": "Image",
                                    "required": [
                                      "type"
                                    ],
                                    "properties": {
                                      "b64": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "type": {
                                        "enum": [
                                          "image"
                                        ],
                                        "type": "string"
                                      },
                                      "image_url": {
                                        "type": "string",
                                        "nullable": true
                                      }
                                    },
                                    "description": "Image content"
                                  },
                                  {
                                    "type": "object",
                                    "title": "Text",
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "properties": {
                                      "text": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "enum": [
                                          "text"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "description": "Text content"
                                  },
                                  {
                                    "type": "object",
                                    "title": "Transaction",
                                    "required": [
                                      "type",
                                      "chain_id",
                                      "transaction_hash"
                                    ],
                                    "properties": {
                                      "type": {
                                        "enum": [
                                          "transaction"
                                        ],
                                        "type": "string"
                                      },
                                      "chain_id": {
                                        "type": "number"
                                      },
                                      "transaction_hash": {
                                        "type": "string",
                                        "pattern": "^0x[a-fA-F0-9]{64}$"
                                      }
                                    },
                                    "description": "Transaction content"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    },
                    "minItems": 1,
                    "description": "Natural language query for the AI assistant"
                  }
                },
                "description": "Chat request"
              }
            }
          }
        }
      }
    }
  ],
  "origin": {
    "slug": "yddkctoq-nx-link",
    "host": "yddkctoq.nx.link",
    "url": "https://yddkctoq.nx.link"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/yddkctoq-nx-link-ai-chat",
    "url": "https://x402all.com/resource/yddkctoq-nx-link-ai-chat",
    "name": "thirdweb \u00b7 Blockchain LLM Chat",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/yddkctoq-nx-link-ai-chat",
      "@type": "Offer",
      "price": "0.003",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.003000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://yddkctoq.nx.link/ai/chat",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/yddkctoq-nx-link",
      "url": "https://yddkctoq.nx.link",
      "name": "yddkctoq.nx.link",
      "@type": "Organization"
    },
    "identifier": "yddkctoq-nx-link-ai-chat",
    "description": "Chat with t0, thirdweb's blockchain-specialized LLM via x402. Pay 0.003 USDC per call. OpenAI-compatible endpoint with on-chain transaction context on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=yddkctoq-nx-link-ai-chat",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "ai"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=yddkctoq-nx-link-ai-chat"
}
