Positions
TRDEFI prepare request
POST https://yield.trdefi.com/v1/positions
0.02 USDC on Base · payTo 0x4C96dA02d7120BFb81594d0e924B237e0c74660d
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"example": {
"chain": "base",
"deposits": [
{
"amount": "1000000",
"symbol": "USDC"
},
{
"amount": "900000",
"symbol": "EURC"
}
],
"makerFeeBps": 30000,
"wallet": "0x0000000000000000000000000000000000000000"
},
"properties": {
"chain": {
"description": "Network to ship on. Exactly these three keys: `base` (8453), `arc` (5042), `baseSepolia` (84532). Any other value is rejected with 422.",
"enum": [
"base",
"arc",
"baseSepolia"
],
"type": "string"
},
"checkBalances": {
"default": false,
"description": "Add live balance checks to `preflight` so you can tell a human the transfer will succeed before asking them to approve.",
"type": "boolean"
},
"deposits": {
"description": "REQUIRED. Exactly two tokens, and they must be different symbols. Each `amount` is an integer string in base units — never a float. You supply both sides, so we never have to guess a price.",
"items": {
"properties": {
"amount": {
"description": "Amount in base units, as an integer string, e.g. \"1000000\" for 1 USDC.",
"type": "string"
},
"symbol": {
"description": "Token symbol or address, e.g. \"USDC\".",
"type": "string"
}
},
"required": [
"symbol",
"amount"
],
"type": "object"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"includeApprovals": {
"default": true,
"description": "Set `false` to receive only the `ship` step. By default the `approve` steps are included only where your live allowance is short.",
"type": "boolean"
},
"makerFeeBps": {
"default": 0,
"description": "Fee you keep per swap, in the protocol's 1e7 scale (`30000` = 0.30%). Independent of, and on top of, the 0.05% protocol fee. Optional; defaults to 0.",
"maximum": 2000000,
"minimum": 0,
"type": "integer"
},
"wallet": {
"description": "Your own EVM address. The position belongs to it; funds never leave it.",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"chain",
"wallet",
"deposits"
],
"type": "object"
}{
"chain": "base",
"note": "Sign with your own wallet. TRDEFI cannot sign or broadcast these.",
"strategyHash": "0x5928c6b6c24c08615ddde8b832e6f4b135550601e2bb903dba4123c1b8ff8f2c",
"transactions": [
{
"data": "0x095ea7b3...",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"value": "0"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://yield.trdefi.com/v1/positions · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"arc",
"baseSepolia"
],
"description": "Network to ship on. Exactly these three keys: `base` (8453), `arc` (5042), `baseSepolia` (84532). Any other value is rejected with 422."
},
"wallet": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$",
"description": "Your own EVM address. The position belongs to it; funds never leave it."
},
"deposits": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"description": "REQUIRED. Exactly two tokens, and they must be different symbols. Each `amount` is an integer string in base units — never a float. You supply both sides, so we never have to guess a price.",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Token symbol or address, e.g. \"USDC\"."
},
"amount": {
"type": "string",
"description": "Amount in base units, as an integer string, e.g. \"1000000\" for 1 USDC."
}
},
"required": [
"symbol",
"amount"
]
}
},
"makerFeeBps": {
"type": "integer",
"minimum": 0,
"maximum": 2000000,
"default": 0,
"description": "Fee you keep per swap, in the protocol's 1e7 scale (`30000` = 0.30%). Independent of, and on top of, the 0.05% protocol fee. Optional; defaults to 0."
},
"includeApprovals": {
"type": "boolean",
"default": true,
"description": "Set `false` to receive only the `ship` step. By default the `approve` steps are included only where your live allowance is short."
},
"checkBalances": {
"type": "boolean",
"default": false,
"description": "Add live balance checks to `preflight` so you can tell a human the transfer will succeed before asking them to approve."
}
},
"required": [
"chain",
"wallet",
"deposits"
],
"example": {
"chain": "base",
"wallet": "0x0000000000000000000000000000000000000000",
"deposits": [
{
"symbol": "USDC",
"amount": "1000000"
},
{
"symbol": "EURC",
"amount": "900000"
}
],
"makerFeeBps": 30000
}
}Output schema
{
"chain": "base",
"strategyHash": "0x5928c6b6c24c08615ddde8b832e6f4b135550601e2bb903dba4123c1b8ff8f2c",
"transactions": [
{
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"data": "0x095ea7b3...",
"value": "0"
}
],
"note": "Sign with your own wallet. TRDEFI cannot sign or broadcast these."
}curl -i -X POST 'https://yield.trdefi.com/v1/positions' \
-H 'content-type: application/json' -d '{"type":"object","properties":{"chain":{"type":"string","enum":["base","arc","baseSepolia"],"description":"Network to ship on. Exactly these three keys: `base` (8453), `arc` (5042), `baseSepolia` (84532). Any other value is rejected with 422."},"wallet":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Your own EVM address. The position belongs to it; funds never leave it."},"deposits":{"type":"array","minItems":2,"maxItems":2,"description":"REQUIRED. Exactly two tokens, and they must be different symbols. Each `amount` is an integer string in base units — never a float. You supply both sides, so we never have to guess a price.","items":{"type":"object","properties":{"symbol":{"type":"string","description":"Token symbol or address, e.g. \"USDC\"."},"amount":{"type":"string","description":"Amount in base units, as an integer string, e.g. \"1000000\" for 1 USDC."}},"required":["symbol","amount"]}},"makerFeeBps":{"type":"integer","minimum":0,"maximum":2000000,"default":0,"description":"Fee you keep per swap, in the protocol'\''s 1e7 scale (`30000` = 0.30%). Independent of, and on top of, the 0.05% protocol fee. Optional; defaults to 0."},"includeApprovals":{"type":"boolean","default":true,"description":"Set `false` to receive only the `ship` step. By default the `approve` steps are included only where your live allowance is short."},"checkBalances":{"type":"boolean","default":false,"description":"Add live balance checks to `preflight` so you can tell a human the transfer will succeed before asking them to approve."}},"required":["chain","wallet","deposits"],"example":{"chain":"base","wallet":"0x0000000000000000000000000000000000000000","deposits":[{"symbol":"USDC","amount":"1000000"},{"symbol":"EURC","amount":"900000"}],"makerFeeBps":30000}}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs