REST Endpoints
Here's a list of all the REST API endpoints available in Pool.
REST Path | REST Method | RPC |
---|---|---|
/v1/pool/accounts | POST | poolrpc.InitAccount |
/v1/pool/accounts | GET | poolrpc.ListAccounts |
/v1/pool/accounts | DELETE | poolrpc.CloseAccount |
/v1/pool/accounts/bump | POST | poolrpc.BumpAccountFee |
/v1/pool/accounts/deposit | POST | poolrpc.DepositAccount |
/v1/pool/accounts/quote | POST | poolrpc.QuoteAccount |
/v1/pool/accounts/recover | POST | poolrpc.RecoverAccounts |
/v1/pool/accounts/renew | POST | poolrpc.RenewAccount |
/v1/pool/accounts/withdraw | POST | poolrpc.WithdrawAccount |
/v1/pool/batch/next | GET | poolrpc.NextBatchInfo |
/v1/pool/batch/snapshot | GET | poolrpc.BatchSnapshot |
/v1/pool/batch/snapshots | GET | poolrpc.BatchSnapshots |
/v1/pool/fee | GET | poolrpc.AuctionFee |
/v1/pool/info | GET | poolrpc.GetInfo |
/v1/pool/lease_durations | GET | poolrpc.LeaseDurations |
/v1/pool/leases | GET | poolrpc.Leases |
/v1/pool/lsat/tokens | GET | poolrpc.GetLsatTokens |
/v1/pool/node_ratings | GET | poolrpc.NodeRatings |
/v1/pool/orders | GET | poolrpc.ListOrders |
/v1/pool/orders | POST | poolrpc.SubmitOrder |
/v1/pool/orders/quote | POST | poolrpc.QuoteOrder |
/v1/pool/orders/{order_nonce} | DELETE | poolrpc.CancelOrder |
/v1/pool/sidecar/expect | POST | poolrpc.ExpectSidecarChannel |
/v1/pool/sidecar/offer | POST | poolrpc.OfferSidecar |
/v1/pool/sidecar/register | POST | poolrpc.RegisterSidecar |
/v1/pool/stop | POST | poolrpc.StopDaemon |