{"openapi":"3.1.0","info":{"title":"Solve3 Agent API","version":"0.1.0-beta","description":"Pay-per-request access to Solve3 voting helpers, billed with x402 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1). Cluster: devnet. Read routes cost $0.005, transaction-building routes cost $0.02. The API is non-custodial: it only returns unsigned transactions for the owner to review and sign. Failed requests (4xx/5xx) are not charged. Devnet beta: test tokens have no monetary value, and suggestions are estimates, not advice."},"servers":[{"url":"https://agent.solve3.fi"}],"tags":[{"name":"Read"},{"name":"Build transaction"}],"paths":{"/v1/gauges":{"get":{"summary":"This week's timing and every pool you can vote for","description":"Epoch number, when voting closes, and each votable pool with its current share of votes and bribe count.","operationId":"get_v_gauges","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/locks/{owner}":{"get":{"summary":"veSOLV3 locks owned by a wallet","operationId":"get_v_locks_owner","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string"},"description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."}],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/claimable/{owner}":{"get":{"summary":"Unclaimed voting rewards for a wallet","description":"Every reward (emissions, trading fees, bribes) across all ended weeks, net of any auto-vote fee.","operationId":"get_v_claimable_owner","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string"},"description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."}],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/vote-plan/{owner}/{lockId}":{"get":{"summary":"Return-maximising vote split for a lock","description":"An estimate, not a guarantee. Counts SOLV3 emissions only unless token prices are configured.","operationId":"get_v_vote_plan_owner_lockId","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string"},"description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},{"name":"lockId","in":"path","required":true,"schema":{"type":"integer"},"description":"The lock number."}],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/autovote":{"get":{"summary":"Whether auto-vote is offered, who votes, and the fee","operationId":"get_v_autovote","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/autovote/status/{owner}":{"get":{"summary":"Per-lock auto-vote status for a wallet","operationId":"get_v_autovote_status_owner","tags":["Read"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.005","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string"},"description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."}],"responses":{"200":{"description":"JSON result.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.005 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/claim-all":{"post":{"summary":"Unsigned, simulated transactions that claim every reward","operationId":"post_v_tx_claim_all","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/vote":{"post":{"summary":"Unsigned, simulated vote transaction","description":"Omit `votes` and the optimiser chooses. Percents are whole numbers totalling at most 100, across at most 50 pools.","operationId":"post_v_tx_vote","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner","lockId"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},"lockId":{"type":"integer","description":"The lock to vote with. The wallet must own it."},"votes":{"type":"array","description":"Optional split: [{ gauge: <pool gauge address>, percent: <1-100> }]","example":[{"gauge":"<gauge>","percent":100}],"items":{"type":"object"}}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/lock":{"post":{"summary":"Unsigned transaction creating a permanent veSOLV3 lock","operationId":"post_v_tx_lock","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner","amount"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},"amount":{"type":"string","description":"Whole SOLV3 as a decimal string, for example \"125.5\". Locks are permanent.","example":"125.5"}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/increase-lock":{"post":{"summary":"Unsigned transaction adding SOLV3 to a lock","operationId":"post_v_tx_increase_lock","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner","lockId","amount"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},"lockId":{"type":"integer","description":"The lock to add to."},"amount":{"type":"string","description":"Whole SOLV3 as a decimal string.","example":"10"}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/autovote/enable":{"post":{"summary":"Unsigned transaction turning on auto-vote for a lock","description":"Costs the owner 15% of that lock's voting rewards for weeks the agent votes. The owner's own vote always wins.","operationId":"post_v_tx_autovote_enable","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner","lockId"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},"lockId":{"type":"integer","description":"The lock to enrol."}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}},"/v1/tx/autovote/disable":{"post":{"summary":"Unsigned transaction turning off auto-vote for a lock","operationId":"post_v_tx_autovote_disable","tags":["Build transaction"],"x-payment-info":{"protocol":"x402","scheme":"exact","price":"$0.02","network":"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1","payTo":"HRmz8NhLJDXYiSyR6STzBkofJZGb9ZMbbEh3rMHRVXNV"},"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["owner","lockId"],"properties":{"owner":{"type":"string","description":"A Solana wallet address (base58). It is only read; nothing is signed on its behalf."},"lockId":{"type":"integer","description":"The lock to release."}}}}}},"responses":{"200":{"description":"Unsigned transactions (base64), each already simulated, with blockhash and lastValidBlockHeight.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad input, for example an invalid address. Not charged."},"402":{"description":"Payment required. Pay $0.02 (solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1) with an x402 client and retry the same request."},"404":{"description":"Not found, for example the wallet does not own that lock. Not charged."},"422":{"description":"The request is valid but cannot succeed (a simulation failed, or nothing worth voting for). Not charged."}}}}}}