Skip to main content
GET
/
accounts
/
{address}
/
standing-orders
Get all standing orders for an account
curl --request GET \
  --url https://grid.squads.xyz/api/grid/v1/accounts/{address}/standing-orders \
  --header 'Authorization: Bearer <token>' \
  --header 'x-grid-environment: <x-grid-environment>'
[
  {
    "amount": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "currency": "<string>",
    "destinations": [
      "<string>"
    ],
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "last_execution_date": "2023-11-07T05:31:56Z",
    "next_execution_date": "2023-11-07T05:31:56Z",
    "period": "<string>",
    "remaining_amount": "<string>",
    "status": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Your Grid API key from the Grid Dashboard

Headers

x-grid-environment
string
required

Solana network environment (sandbox, devnet, mainnet)

Path Parameters

address
string
required

Smart account address

Query Parameters

status
string

Filter by standing order status

currency
string

Filter by currency

start_date
string

Filter by start date

end_date
string

Filter by end date

tx_hash
string

Filter by transaction hash

limit
integer

Limit the number of results

Required range: x >= 0
cursor
string

Pagination cursor

Response

Standing orders retrieved successfully

amount
string
required
created_at
string<date-time>
required
currency
string
required
destinations
string[]
required
id
string<uuid>
required
next_execution_date
string<date-time>
required
period
string
required
remaining_amount
string
required
status
string
required
last_execution_date
string<date-time> | null