AccountSet
AccountSet
allows the association of multiple ledger accounts with one user. An AccountSet
is a list of account IDs. An AccountSet
is a "Document" stored on the ledger.
Model
The data model for an AccountSet
:
API Requests
Create
To create an AccountSet
, specify the array of account IDs:
- Rust
- TypeScript
- Dart
- CLI
Update
To update an AccountSet
, specify the AccountSetID and updated attributes:
- Rust
- TypeScript
- Dart
- CLI
Delete
To delete an AccountSet
, specify the AccountSetID:
- Rust
- TypeScript
- Dart
- CLI
List (Find)
To list AccountSets
, filter by account name or account owner:
- Rust
- TypeScript
- Dart
- CLI
Get
Get AccountSet
details:
- Rust
- TypeScript
- Dart
- CLI
The response from the get account-set
would be something like:
(
id: "38a6edba-73b1-4e1c-ad20-ab23504829c5",
owner: "6h1qgk3bWkobbiUkeTr0M2/7p6hEkE3XtwisJZwqkSQ=",
accounts: ["3e800000000000000000000000000003", "3e800001000000000100000000000003", "3e800001000000000200000000000003"],
)
HTTP/1
To submit requests over HTTP/1 instead of HTTP/2 with the SDKs, use the http option.