Documentation Index
Fetch the complete documentation index at: https://txline-docs.txodds.com/llms.txt
Use this file to discover all available pages before exploring further.
Interface Definition Language
IDL (Interface Definition Language) files define the structure and interface of the TxLINE Solana programs. Use these files to interact with the on-chain programs using Anchor.
{
"version": "0.1.0",
"name": "txoracle",
"instructions": [],
"accounts": [],
"types": [],
"constants": [
{
"name": "TXLINE_MINT",
"type": "string",
"value": "\"GYdhNurtx2EgiTPRHVGuFWKHPycdpUqgedVkwEVUWVTC\""
},
{
"name": "USDT_MINT",
"type": "string",
"value": "\"EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS\""
}
]
}
Program ID: 6pW64gN1s2uqjHkn1unFeEjAwJkPGHoppGvS715wyP2J
Usage
To use this IDL with Anchor:
import { Program, AnchorProvider } from "@coral-xyz/anchor";
import { Txoracle } from "./types/txoracle";
import idl from "./idl/txoracle.json";
const provider = AnchorProvider.env();
const program = new Program<Txoracle>(idl as Txoracle, provider);