## Index

- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.UniversalLedger` (interface)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Account` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountManagerDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountQuery` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ActivateAccount` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AddRoles` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AmountValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BalanceToSettle` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BoolList` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Burn` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ChangeAccountManager` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClearingHouseDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientQuery` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientTransaction` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractPermission` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractTokenManagerDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateAccount` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateAccountManager` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateClearinghouse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateContract` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateContractTokenManager` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateCurrencyOperator` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateSnapshot` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateTokenManager` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyOperatorDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DeactivateAccount` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DecreaseTokenIssuanceLimit` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DictValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Endpoint` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.EventDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.EventType` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ExecutionDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Fields` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.GetEndpointRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.GrantContractPermissions` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.IncreaseTokenIssuanceLimit` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Int64List` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.InvokeContractMethod` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListEndpointsRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListEndpointsResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.MerkleTree` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Mint` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.NoneValue` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.PlatformOperatorDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ProofOfInclusion` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ProofOfInclusion.MerkleTreeNode` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QualifiedCurrencyValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryAccountRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryAccountResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryDataRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryDataResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryTransactionStateRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryTransactionStateResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RedactedField` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RemoveRoles` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RemoveSigningPublicKey` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RepeatedValue` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ReplaceSigningPublicKey` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Role` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RoundCertificate` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementMode` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedQueryRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedTransaction` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StatusEvent` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StringList` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitOperationalTransactionRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitOperationalTransactionResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitTransactionRequest` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitTransactionResponse` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TokenManagerDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionAttempt` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionAttempt.TransactionStatus` (enum)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionChain` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEffect` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEffects` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEvent` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEvent.EventAttribute` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionState` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionStateQuery` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionStatus` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Transfer` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferContractTokenManager` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferCurrencyOperator` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferPlatformOperator` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.UserDetails` (message)
- `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Value` (message)

## UniversalLedger

A service for interacting with the Google Cloud Universal Ledger. Endpoints are pre-created and managed by Google and cannot be modified by users. The names of available endpoints will be provided in the public documentation. An endpoint is a regional resource within a Universal Ledger network. Requests sent to an endpoint may be routed to different validators in the given network within the given region.

| GetEndpoint |
|---|
| `` rpc GetEndpoint(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.GetEndpointRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Endpoint`) `` Gets the details of a specific endpoint. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `universalledger.endpoints.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListEndpoints |
|---|
| `` rpc ListEndpoints(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListEndpointsRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListEndpointsResponse`) `` Lists all endpoints for a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `universalledger.endpoints.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| QueryAccount |
|---|
| > [!WARNING] > This item is deprecated! `` rpc QueryAccount(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryAccountRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryAccountResponse`) `` Deprecated: Use the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.UniversalLedger.QueryData` method instead. Queries all the information stored about an account in the network. The returned account details may vary between calls, because an endpoint may route requests to different validators within the network and region, and the validators may not be at the same round ID at any given time. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `endpoint` resource: - `universalledger.endpoints.readNetwork` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| QueryData |
|---|
| `` rpc QueryData(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryDataRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryDataResponse`) `` Queries the network for information stored on the ledger, such as accounts and transactions. Access to certain sensitive fields, such as account balances, may be restricted based on the identity of the sender derived from the signature in the request. If the sender lacks permission, sensitive fields will be redacted from the response and reported in the `redacted_fields` field. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `endpoint` resource: - `universalledger.endpoints.readNetwork` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| QueryTransactionState |
|---|
| > [!WARNING] > This item is deprecated! `` rpc QueryTransactionState(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryTransactionStateRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QueryTransactionStateResponse`) `` Deprecated: Use the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.UniversalLedger.QueryData` method instead. Queries the state of a transaction. This method can be called for any transaction submitted to the network. The returned transaction details may vary between calls, because an endpoint may route requests to different validators within the network and region, and the validators may not be at the same round ID at any given time. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `endpoint` resource: - `universalledger.endpoints.readNetwork` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| SubmitOperationalTransaction |
|---|
| `` rpc SubmitOperationalTransaction(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitOperationalTransactionRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitOperationalTransactionResponse`) `` Submits an operational transaction to the network. This method returns only after the transaction has been replicated across a majority of validators in the network, or if the transaction fails. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `endpoint` resource: - `universalledger.endpoints.submit` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| SubmitTransaction |
|---|
| `` rpc SubmitTransaction(`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitTransactionRequest`) returns (`https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitTransactionResponse`) `` Submits a transaction to the network. The request is first validated for basic correctness. If validation fails, the request will fail immediately. If validation succeeds, this method returns only after the transaction has been replicated across a majority of validators in the network, or until the request fails. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `endpoint` resource: - `universalledger.endpoints.submit` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

## Account

Represents the state of an account on the ledger.

| Fields ||
|---|---|
| `sequence_number` | `int64` Output only. The sequence number of this account. This number increments with each transaction sent by this account. |
| `public_key` | `bytes` Output only. The primary public key associated with this account, used for signature verification. |
| `round_id` | `int64` Output only. The ID of the execution round (similar to block "height") at which the account information provided is accurate. |
| `comment` | `string` Output only. The account comment stored when this account was created. |
| Union field `account_details`. Specific details based on the type of account. `account_details` can be only one of the following: ||
| `user_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.UserDetails` Output only. Details for a standard user account. |
| `account_manager_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountManagerDetails` Output only. Details for an account manager account. |
| `token_manager_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TokenManagerDetails` Output only. Details for a token manager account. |
| `contract_token_manager_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractTokenManagerDetails` Output only. Details for a contract token manager account. |
| `contract_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractDetails` Output only. Details for a smart contract account. |
| `clearinghouse_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClearingHouseDetails` Output only. Details for a clearinghouse account. |
| `currency_operator_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyOperatorDetails` Output only. Details for a currency operator account. |
| `platform_operator_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.PlatformOperatorDetails` Output only. Details for a platform operator account. |

## AccountManagerDetails

Details specific to an Account Manager.

| Fields ||
|---|---|
| `num_accounts` | `int32` Output only. The number of accounts created by this account manager. |
| `token_manager_id` | `string` Output only. The ID of the default token manager for accounts created by this account manager. |

## AccountQuery

A request to query information about an account.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account to get information about. |
| `round_id` | `int64` Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical. |

## AccountStatus

The status of an account.

| Enums ||
|---|---|
| `ACCOUNT_STATUS_UNSPECIFIED` | Invalid status. |
| `ACCOUNT_STATUS_ACTIVE` | Active state where the account can conduct the operations allowed by its roles. |
| `ACCOUNT_STATUS_INACTIVE` | Inactive state where all transactions on the account are forbidden. The manager of the account can still send account management transactions. |

## AccountValue

A reference to an account on the ledger.

This reference is swapped out for a full `gcul.Account` object by the ledger's runtime. For more details, see the [`gcul.Account` class](https://docs.cloud.google.com/universal-ledger/reference/gculpy-language#account-class) in the GCULpy language reference.

| Fields ||
|---|---|
| `account_id` | `string` Required. The account ID. |

## ActivateAccount

Marks an account as `ACCOUNT_STATUS_ACTIVE`. The sender must be the account manager of the account to activate.

The account owner can resume normal operations permitted by the roles on the account.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account to be activated. The value is limited to 60 characters. |

## AddRoles

Adds the specified roles to the account. The sender must be the account manager of the account to modify.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account to be modified. The value is limited to 60 characters. |
| `roles[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Role` Required. The roles to be added. |

## AmountValue

Represents a denominated amount in a currency.

| Fields ||
|---|---|
| `currency` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QualifiedCurrencyValue` Required. The currency of the amount. |
| `amount_value` | `int64` Required. The number of minor units of the currency. |

## BalanceToSettle

A balance to settle between two token managers.

| Fields ||
|---|---|
| `balance_payer_id` | `string` Output only. The ID of the account which owes the balance to be settled. |
| `balance_receiver_id` | `string` Output only. The ID of the account which is owed the balance to be settled. |
| `balance` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The balance to settle. Must be positive. |

## BoolList

A list of booleans.

| Fields ||
|---|---|
| `values[]` | `bool` Optional. The boolean values. |

## Burn

Burns currency tokens. The sender must be a token manager and the account supplying the tokens to burn must additionally sign the transaction.

The expected flow is that the token manager will have its designated burn account which customers would transfer the tokens to before they are burnt. Alternatively, the customers could directly sign the transaction in which case it would act as an atomic "transfer-and-burn" transaction.

| Fields ||
|---|---|
| `burn_amount` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. The amount to burn. |
| `payer_id` | `string` Required. The ID of the account supplying the tokens to burn. The payer account must have the `ROLE_PAYER` enabled on it. |

## ChangeAccountManager

Transfers the responsibility of managing a particular account to another manager. The sender must be the current account manager of the account and, to provide consent, the new manager must also sign this transaction.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account whose manager is to be changed. The value is limited to 60 characters. |
| `next_manager_id` | `string` Required. The ID of the new proposed account manager. Validation requires that the new manager has also signed this transaction. The value is limited to 60 characters. |

## ClearingHouseDetails

Details specific to a Clearinghouse.

| Fields ||
|---|---|
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Output only. The status of this account. |
| `balances[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BalanceToSettle` Output only. The balances that this clearinghouse is currently tracking for settlement. |
| `settlement_mode` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementMode` Output only. The settlement mode of this clearinghouse. |

## ClientQuery

Represents a query request from a client.

| Fields ||
|---|---|
| `sender_id` | `string` Optional. The sender of the query request. |
| `expire_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Optional. The time at which the query will expire. This helps to limit the exposure to replay attacks. This field is required if the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedQueryRequest` contains a signature and is optional otherwise. The expiration time must be in the future and at most 5 minutes from the current time, that is `now <= expire_time <= now + 5 min`. |
| Union field `kind`. The query request specific message. `kind` can be only one of the following: ||
| `account_query` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountQuery` Optional. Query for the details of an account. |
| `transaction_state_query` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionStateQuery` Optional. Query for the state of a transaction. |

## ClientTransaction

Represents a transaction initiated by a client.

| Fields ||
|---|---|
| `sender_id` | `string` Required. The ID of the account that is sending this transaction. |
| `other_signatory_ids[]` | `string` Optional. The IDs of accounts that, in addition to the sender, have signed this transaction. |
| `sequence_number` | `int64` Required. A unique, monotonically increasing number, starting from 0. This number must be increased by one for each transaction previously submitted to the network by the same transaction sender. Note this does not include any transaction units that may have been submitted as part of a chain, which must not set a sequence number. But it does include the sender of the transaction chain itself. |
| `chained_unit` | `bool` Must be set to true if this client transaction is part of a transaction chain. Otherwise, it must be set to false. This is necessary to prevent a signed transaction intended to be part of a chain from being submitted on its own. |
| `network` | `string` Required. The name of the network this transaction is intended for, such as `user-testing`. The transaction will be rejected if the name does not match that of the network processing the transaction. |
| Union field `kind`. The client transaction-specific message. `kind` can be only one of the following: ||
| `operational` | `https://protobuf.dev/reference/protobuf/google.protobuf#any` Optional. An operational transaction message. Note this can only be sent by the platform operator. Should be any one of: - `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateSnapshot` |
| `transfer_platform_operator_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferPlatformOperator` Optional. Message for transferring the platform operator role to a new account. |
| `create_currency_operator_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateCurrencyOperator` Optional. Message for creating a new currency operator. |
| `transfer_currency_operator_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferCurrencyOperator` Optional. Message for transferring the currency operator role to a new account. |
| `create_clearinghouse_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateClearinghouse` Optional. Message for creating a new clearinghouse. |
| `create_account_manager_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateAccountManager` Optional. Message for creating a new account manager. |
| `create_token_manager_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateTokenManager` Optional. Message for creating a new token manager associated to the currency of the operator sending the request. |
| `increase_token_issuance_limit_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.IncreaseTokenIssuanceLimit` Optional. Notifies the network that the target account has deposited reserve funds and increases its token issuance limit. |
| `decrease_token_issuance_limit_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DecreaseTokenIssuanceLimit` Optional. Notifies the network that the target account wishes to withdraw reserve funds and decreases its token issuance limit. |
| `settlement_request_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementRequest` Optional. Message for initiating a settlement operation. |
| `mint_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Mint` Optional. Message for minting currency tokens and transferring them to an account. |
| `burn_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Burn` Optional. Message for burning currency tokens from an account. |
| `create_account_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateAccount` Optional. Message for creating a new user account. |
| `deactivate_account_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DeactivateAccount` Optional. Message for deactivating a user account. |
| `activate_account_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ActivateAccount` Optional. Message for activating a user account. |
| `add_roles_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AddRoles` Optional. Message for adding roles to an account. |
| `remove_roles_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RemoveRoles` Optional. Message for removing roles from an account. |
| `change_account_manager_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ChangeAccountManager` Optional. Message for changing the account manager of an account. |
| `transfer_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Transfer` Optional. Message for transferring tokens from one user account to another. |
| `create_contract_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateContract` Optional. Message for creating a new contract on the ledger. |
| `grant_contract_permissions_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.GrantContractPermissions` Optional. Message for granting permissions to a contract. |
| `invoke_contract_method_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.InvokeContractMethod` Optional. Message for invoking the execution of a contract method. |
| `create_contract_token_manager_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CreateContractTokenManager` Optional. Message for creating a new token manager associated to the currency of the operator sending the request. |
| `transfer_contract_token_manager_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferContractTokenManager` Optional. Message for transferring the token manager role for a currency from one account to another. |
| `remove_signing_public_key_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RemoveSigningPublicKey` Optional. Message for removing an account signing key. |
| `replace_signing_public_key_transaction` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ReplaceSigningPublicKey` Optional. Message for replacing an account signing key. |
| `chain` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionChain` Optional. Message for a transaction chain including multiple transaction units to execute in sequence. |

## ContractDetails

Details specific to a Smart Contract.

| Fields ||
|---|---|
| `owner_id` | `string` Output only. The ID of the owner of the contract. |
| `code` | `bytes` Output only. The serialized contract code. |
| `contract_fields` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Fields` Output only. The contract fields (field name -\> value) for this contract. |
| `currency_balances` | ``map<string, `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue`>`` Output only. The currency balances held by the contract (currency operator -\> balance). |

## ContractPermission

The set of permissions that can be granted to a contract. More values are expected to be added in the future.

| Enums ||
|---|---|
| `CONTRACT_PERMISSION_UNSPECIFIED` | Invalid permission. |
| `CONTRACT_PERMISSION_STORAGE` | Allows a contract to read and write into storage owned by the account who granted the permission. The contract can only read and write the properties that it has previously written. Note this does not allow the contract to read or write data managed by other contracts; nor does it allow the contract to directly update other account properties (for example, the balance of the account in its native currency). |

## ContractTokenManagerDetails

Details specific to a Contract Token Manager.

| Fields ||
|---|---|
| `issuance_limit` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The amount of tokens this contract token manager is allowed to provide backing for. Since contract token managers cannot increase or decrease their issuance limit, this should equal the `issued_tokens`. |
| `issued_tokens` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The amount of tokens this contract token manager is providing backing for (that is, its total liability). This equals to the sum of all balances held in contracts for its currency, plus its net position in the settlement matrix. |
| `previous_contract_token_manager_id` | `string` Output only. The account ID of the previous contract token manager for this currency. This forms an audit trail that can be traversed to discover all previous managers. If this is the first contract token manager for the currency, this will be empty. |
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Output only. The status of this account. |

## ContractValue

Represents a contract reference.

| Fields ||
|---|---|
| `contract_id` | `string` Required. The contract ID. |

## CreateAccount

Creates a new user account. The sender must be an account manager.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the account owner. Note that this is *not* the public key of the sender. This is the public key of the *new* account owner and it will be stored on the ledger. It will be used to validate the signature of the transactions emanating from the created account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `roles[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Role` Optional. The list of roles to grant to this account. |
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Optional. The status of the account to be created. By default, the account status of a newly created account will be `ACCOUNT_STATUS_ACTIVE`. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `token_manager_id` | `string` Optional. The ID of the token manager for this account. This field is optional and if not supplied, the default token manager associated to the account manager (that is, the sender of this transaction) will be used. The value is limited to 60 characters. |

## CreateAccountManager

Creates a new account manager. The sender must be a currency operator.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new account manager. Note that this is *not* the public key of the operator. This public key will be associated with the account manager and stored on the ledger. It will be used to validate the signature of the transactions emanating from the account manager's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `default_token_manager_id` | `string` Optional. The ID of the default token manager for the accounts that will be created by this manager. The value is limited to 60 characters. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |

## CreateClearinghouse

Creates a new clearinghouse. The sender must be a currency operator.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new clearinghouse. Note that this is *not* the public key of the operator. This public key will be associated with the clearinghouse and stored on the ledger. It will be used to validate signature of the transactions emanating from the clearinghouse's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `settlement_mode` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementMode` Required. The settlement mode for this clearinghouse. Required. Considered public information. |

## CreateContract

Stores a contract on the ledger.

| Fields ||
|---|---|
| `contract_bytes` | `bytes` Serialised contract bytes. |
| `init_arguments` | ``map<string, `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Value`>`` Optional. Immutable. Contains arguments for the `__init__` method. |
| `contract_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the contract. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |

## CreateContractTokenManager

Creates a new contract token manager associated with the currency of the operator sending the request. The sender must be a currency operator. The newly created contract token manager is active by default. If the contract token manager has to be replaced, the TransferContractTokenManager transaction should be sent instead. If another contract token manager associated with the same currency exists, this transaction will fail.

Unlike regular token managers, contract token managers are not allowed to execute transactions such as mint or burn. They can, however, participate in settlement operations.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new contract token manager. Note that this is *not* the public key of the operator. This public key will be associated with the contract token manager and stored on the ledger. It will be used to validate the signature of the transactions emanating from the contract token manager's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |

## CreateCurrencyOperator

Creates a new currency operator. The sender must be the platform operator.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

This transaction can introduce a new currency into the system or create an additional currency operator for an existing currency. If an existing currency operator has to be replaced, the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransferCurrencyOperator` transaction should be sent instead.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new currency operator. This public key will be associated with the currency operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the operator's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `currency_code` | `string` Required. The fiat currency associated with this operator, represented as a 3-capital-letter ISO 4217 code. Considered public information. |

## CreateSnapshot

This type has no fields.
Triggers the creation of a snapshot of the network. The sender must be the platform operator.

## CreateTokenManager

Creates a new token manager associated to the currency of the operator sending the request. The sender must be a currency operator.

If the transaction is successful, the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new token manager. Note that this is *not* the public key of the operator. This public key will be associated with the token manager and stored on the ledger. It will be used to validate the signature of the transactions emanating from the token manager's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |

## CurrencyOperatorDetails

Details specific to a Currency Operator.

| Fields ||
|---|---|
| `currency_code` | `string` Output only. The ID of the currency associated with this account, represented by the 3-letter ISO 4217 code. |
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Output only. The status of this account. |
| `previous_currency_operator_id` | `string` Output only. The ID of the previous currency operator which transferred ownership of the currency operator role to this account. If this is the first currency operator for the currency, this will be empty. |
| `platform_operator_id` | `string` Output only. The ID of the platform operator which created this currency operator. |
| `contract_token_manager_id` | `string` Output only. The ID of the contract token manager associated with this currency operator. |
| `clearinghouse_id` | `string` Output only. The ID of the clearinghouse associated with this currency operator. |

## CurrencyValue

Represents an amount of currency (i.e. money). Note that the denominated currency is not included in this message. The relevant currency is decided by the account that sends the transaction. Each account has a unique immutable currency associated to it.

| Fields ||
|---|---|
| `value` | `int64` Required. The number of minor units of the currency. This smallest valid denomination is referred to as "minor units" and is specified in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). As an example, for USD, the value will be the number of cents and for GBP it will be the number of pence. For the Japanese Yen which does not have a minor unit, it will be the number of Yen. |

## DeactivateAccount

Marks an account as `ACCOUNT_STATUS_INACTIVE`. The sender must be the account manager of the account to deactivate.

This implies that the account owner will not be able to make any transactions on the account regardless of the roles.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account to be deactivated. The value is limited to 60 characters. |

## DecreaseTokenIssuanceLimit

Notifies the network that the target account wishes to withdraw reserve funds and decreases its token issuance limit. The sender must be a clearinghouse account.

Note that this transaction must be successfully finalized *before* the reserve funds can be withdrawn. This is necessary because it is possible for the transaction to fail (for example, if the minted amount is already above the requested reduced limit).

| Fields ||
|---|---|
| `token_manager_id` | `string` Required. The ID of the institutional account whose mint limit is to be lowered. This account must be a token manager for the transaction to be valid. |
| `amount` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. The amount by which to lower the limit. The amount must be positive. The transaction will fail if the reduced limit will fall below the currently issued tokens. |

## DictValue

Indices map key to value. For example, `keys[0]` key maps to `values[0]`.

| Fields ||
|---|---|
| Union field `keys`. Each key can be exactly one kind. `keys` can be only one of the following: ||
| `bool_keys` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BoolList` Optional. A list of boolean keys. |
| `string_keys` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StringList` Optional. A list of string keys. |
| `int64_keys` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Int64List` Optional. A list of int64 keys. |
| `generic_keys` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RepeatedValue` Optional. A generic list of keys. |
| Union field `values`. Each value can be exactly one kind. `values` can be only one of the following: ||
| `bool_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BoolList` Optional. A list of boolean values. |
| `string_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StringList` Optional. A list of string values. |
| `int64_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Int64List` Optional. A list of int64 values. |
| `generic_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RepeatedValue` Optional. A generic list of values as values. |

## Endpoint

Represents a Universal Ledger endpoint.

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` |

## EventDetails

Represents additional details of a status event.

| Fields ||
|---|---|
| Union field `event_details`. The details of the event. `event_details` can be only one of the following: ||
| `execution_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ExecutionDetails` Output only. Additional details for an execution event. |

## EventType

Represents the type of an event in the processing of a transaction, as observed by the validator that the request was routed to.

| Enums ||
|---|---|
| `EVENT_TYPE_UNSPECIFIED` | Unknown or unspecified event. |
| `EVENT_TYPE_RECEIVED` | The transaction was received by this validator directly from a client. |
| `EVENT_TYPE_BROADCASTED` | The transaction was broadcasted by this to other validators. |
| `EVENT_TYPE_ORDERED` | The transaction was ordered and scheduled for execution by this validator. |
| `EVENT_TYPE_EXECUTION_STARTED` | The execution of the transaction has started. |
| `EVENT_TYPE_EXECUTION_COMPLETED` | The execution of the transaction has completed. |
| `EVENT_TYPE_FINALIZED` | The transaction has been finalized by this validator. |

## ExecutionDetails

Additional details for an execution event.

| Fields ||
|---|---|
| `round_id` | `int64` Output only. The round ID at which the execution event occurred. |

## Fields

A map of fields (field name -\> value) from a contract used to represent contract fields or account fields.

| Fields ||
|---|---|
| `fields` | ``map<string, `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Value`>`` Output only. The map of field names to their values. |

## GetEndpointRequest

Request message for GetEndpoint.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the endpoint to retrieve. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` |

## GrantContractPermissions

Grants permissions to the contract by the transaction sender. If `delegate_contract_id` is specified, the permissions and corresponding storage are granted exclusively to the `delegate_contract_id` contract, not the sender.

Note that there is no support for revoking permissions.

| Fields ||
|---|---|
| `contract_id` | `string` Required. The ID of the contract to which permissions are being granted. |
| `permissions[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractPermission` The permissions to be granted. |
| `delegate_contract_id` | `string` Optional. The contract ID for which permissions are being granted. The transaction sender must be the owner of this contract. |

## IncreaseTokenIssuanceLimit

Transactions for token issuance and minting. Notifies the network that the target account has deposited reserve funds and increases its token issuance limit. The sender must be a clearinghouse account.

| Fields ||
|---|---|
| `token_manager_id` | `string` Required. The ID of the institutional account whose mint limit is to be raised. This account must be a token manager for the transaction to be valid. |
| `amount` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. The amount by which to raise the limit. The amount must be positive. |

## Int64List

A list of int64s.

| Fields ||
|---|---|
| `values[]` | `int64` Optional. The int64 values. |

## InvokeContractMethod

Invokes the execution of a contract method.

| Fields ||
|---|---|
| `contract_id` | `string` Required. The ID of the contract to run. |
| `method_name` | `string` Name of the method to run. |
| `method_arguments` | ``map<string, `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Value`>`` Optional. Immutable. Contains arguments to pass to the method. |
| `payment` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` The amount to be paid. Must be greater than zero when invoking payable methods; and zero for non-payable ones. |

## KeyFormat

Specifies the format a public key is provided in. New values may be added to this enum in the future.

| Enums ||
|---|---|
| `KEY_FORMAT_UNSPECIFIED` | The key format is unspecified. This value is invalid and should not be used. |
| `KEY_FORMAT_TINK_WIRE_FORMAT` | Deprecated: Use `KEY_FORMAT_PEM_EC_P256_SHA256` instead. A binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). > [!WARNING] > This item is deprecated! |
| `KEY_FORMAT_PEM_EC_P256_SHA256` | A PEM-encoded elliptic curve signing key using the P-256 curve with SHA256 digest. Signatures must be provided in DER format. |

## KeySlot

An identifier of the slots which can hold keys on an account.

| Enums ||
|---|---|
| `KEY_SLOT_UNSPECIFIED` | The key slot is unspecified. |
| `KEY_SLOT_PRIMARY` | The primary key slot. |
| `KEY_SLOT_ALTERNATE` | The alternate key slot. |

## ListEndpointsRequest

Request message for ListEndpoints.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent, which owns this collection of endpoints. Format: `projects/{project}/locations/{location}` |
| `page_size` | `int32` Optional. The maximum number of endpoints to return. The service may return fewer than this value. If unspecified, at most 50 endpoints will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `page_token` | `string` Optional. A page token, received from a previous `ListEndpoints` call. Provide this to retrieve the subsequent page. |

## ListEndpointsResponse

Response message for ListEndpoints.

| Fields ||
|---|---|
| `endpoints[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Endpoint` The endpoints for the given project and location. |
| `next_page_token` | `string` A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

## ListValue

A list of values.

| Fields ||
|---|---|
| Union field `values`. Each value can be exactly one kind. `values` can be only one of the following: ||
| `bool_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.BoolList` Optional. A list of boolean values. |
| `string_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StringList` Optional. A list of string values. |
| `int64_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Int64List` Optional. A list of int64 values. |
| `generic_values` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RepeatedValue` Optional. A generic list of values. |

## MerkleTree

A Merkle tree with a cryptographic digest of the root node.

| Fields ||
|---|---|
| `root_digest_hex` | `string` Output only. The hexadecimal representation of the digest of the root node. Format: A 64-character hexadecimal string. |
| `num_transactions` | `int64` Output only. The number of transactions in the tree. |

## Mint

Mints currency tokens and transfers them to a specified account. The sender must be a token manager.

| Fields ||
|---|---|
| `mint_amount` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. The amount to mint. The amount must be such that the total tokens minted by the token manager do not exceed the mint limit. If the amount is higher than that, the transaction must be rejected |
| `beneficiary_id` | `string` Required. The ID of the account to which the minted amount should be transferred. The receiving account must have the `ROLE_RECEIVER` enabled on it. |

## NoneValue

A singleton enumeration to represent the None value.

| Enums ||
|---|---|
| `NONE_VALUE_UNSPECIFIED` | The None value. |

## PlatformOperatorDetails

Details specific to a Platform Operator.

| Fields ||
|---|---|
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Output only. The status of this account. |
| `previous_platform_operator_id` | `string` Output only. The ID of the previous platform operator which transferred ownership of the platform operator role to this account. If this is the first platform operator, this will be empty. |

## ProofOfInclusion

Certificate of the inclusion of the effects of a transaction in the world state.

| Fields ||
|---|---|
| `transaction_certificate` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` Output only. Certificate of the inclusion of the transaction effects in a specific round. |
| `round_certificate` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RoundCertificate` Output only. Certificate of the execution of the round. |
| `path_to_round_root[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ProofOfInclusion.MerkleTreeNode` Output only. Cryptographic proof of inclusion of the transaction effects in the execution round. It is given as a path from a given leaf (a transaction digest) to the root of the execution round. The path is represented as a list of (left child, right child) pairs, and the first pair is the left and right children of the given leaf's parent node. For example, assuming the Merkle tree was built with eight leaf digests `[t0, t1, t2, t3, t4, t5, t6, t7]`, having the following structure: _____root_digest____ |                    | __ h20__             __h21__ |        |           |       | h10     h11          h12     h13 | |     | |          | |     | | t0 t1   t2 t3        t4 t5   t6 t7 In here, `path_to_round_root` for `t0` will contain: `[(t0, t1), (h10, h11), (h20, h21)]`. One can consecutively compute SHA-256 digests of each path node to verify that the digest of the path produces the same value as the `round_certificate.merkle_tree.root_digest_hex`. Thus, verifying that the leaf was included in the round's Merkle tree. |

## MerkleTreeNode

Represents a node in a Merkle tree path.

| Fields ||
|---|---|
| `left_child_digest_hex` | `string` Output only. The hexadecimal representation of the digest of the left child of a node. Format: A 64-character hexadecimal string. |
| `right_child_digest_hex` | `string` Output only. The hexadecimal representation of the digest of the right child of a node. Format: A 64-character hexadecimal string. |

## QualifiedCurrencyValue

Represents a currency on the ledger, which is qualified by its Currency Operator.

| Fields ||
|---|---|
| `operator_id` | `string` Required. The Currency Operator ID administering the currency. |

## QueryAccountRequest

Request message for QueryAccount.

| Fields ||
|---|---|
| `endpoint` | `string` Required. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region. |
| `account_id` | `string` Required. The account ID to get information about. The value is limited to 60 characters. |
| `round_id` | `int64` Optional. The ID of the execution round (similar to block "height") at which to request data. The returned account information will be accurate for the world state at this execution round. If unspecified, uses the latest finalized round as known by the serving validator. The state at a given round ID is always consistent and canonical. |

## QueryAccountResponse

Response message for QueryAccount.

| Fields ||
|---|---|
| `account` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Account` The account information, along with the height at which it was obtained. |

## QueryDataRequest

Request message for QueryData.

| Fields ||
|---|---|
| `endpoint` | `string` Required. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region. |
| `serialized_signed_query_request` | `bytes` Required. A protobuf serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedQueryRequest` to query the Universal Ledger network. |

## QueryDataResponse

Response message for QueryData.

| Fields ||
|---|---|
| `redacted_fields[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.RedactedField` Indicates which fields have been redacted from the response due to permission restrictions. |
| Union field `kind`. The query-specific result. `kind` can be only one of the following: ||
| `account` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Account` The account information, if the query was for an account. |
| `transaction_state` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionState` The state of a transaction, if the query was for a transaction. |

## QueryTransactionStateRequest

Request message for QueryTransactionState.

| Fields ||
|---|---|
| `endpoint` | `string` Required. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region. |
| `transaction_digest_hex` | `string` Required. The transaction ID to get the state of. |

## QueryTransactionStateResponse

Response message for QueryTransactionState.

| Fields ||
|---|---|
| `transaction_attempts[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionAttempt` One entry per each known submission of the transaction to the validator handling the request. |

## RedactedField

Information about a redacted field in the response.

| Fields ||
|---|---|
| `redacted_path` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Output only. The fully qualified field paths that were redacted from the payload. |
| `reason` | `string` Output only. A human-readable explanation of why the fields were redacted. |
| `reason_code` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.rpc#google.rpc.Code` Output only. A machine readable code for why the fields were redacted. |

## RemoveRoles

Removes the specified roles from the account. The sender must be the account manager of the account to modify.

| Fields ||
|---|---|
| `account_id` | `string` Required. The ID of the account to be modified. The value is limited to 60 characters. |
| `roles[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Role` Required. The roles to be removed. |

## RemoveSigningPublicKey

Removes the account signing key from the specified slot. The other slot must not be empty, and must hold the key used to sign the `ClientTransaction`.

| Fields ||
|---|---|
| `key_slot` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` Required. The key slot we're removing the key from. If this is already empty, the transaction will fail. |

## RepeatedValue

A generic list of values.

| Fields ||
|---|---|
| `values[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Value` Optional. The values in the list. |

## ReplaceSigningPublicKey

Replaces the account signing key in the specified slot. The other slot must not be empty, and must hold the key used to sign the `ClientTransaction`.

| Fields ||
|---|---|
| `key_slot` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` Required. The key slot we're replacing the key in. |
| `new_public_key` | `bytes` Required. The new public key, which will replace the public key in the specified slot. The format of the public key is defined by the new_key_format field. Considered public information. |
| `new_key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Required. The key format of the new public key. See the definition of KeyFormat for a list of supported formats. Considered public information. |

## Role

The regular set of roles.

| Enums ||
|---|---|
| `ROLE_UNSPECIFIED` | Invalid role. |
| `ROLE_PAYER` | The role that allows an account to initiate a payment transaction. |
| `ROLE_RECEIVER` | The role that allows an account to receive payments. |
| `ROLE_CONTRACT_CREATOR` | The role that allows an account to deploy contracts. |
| `ROLE_CONTRACT_PARTICIPANT` | The role that allows an account to interact with deployed contracts. |

## RoundCertificate

Certificate of the execution of a round by a specific validator.

| Fields ||
|---|---|
| `round_id` | `int64` Output only. The ID of the round for which the certificate is for. |
| `validator_id` | `string` Output only. The human readable validator identifier. This is used to look up the public key against which the `validator_signatures` is verified. |
| `round_state_checksum_hex` | `string` Output only. The hex representation of the homomorphic digest over the world state after the effects of this round are applied. |
| `round_delta_checksum_hex` | `string` Output only. The hex representation of the homomorphic digest over the aggregated transaction effects of this round. |
| `merkle_tree` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.MerkleTree` Output only. Merkle tree having this round as root node and transaction batches (executed in the round) as the leaves. |
| `validator_signatures[]` | `bytes` Optional. The signature of the validator. This is signed over the digest of the preceding payload of this record. |
| `is_finalized` | `bool` Output only. Boolean to indicate if the round is finalized, i.e., whether a sufficient quorum of validators have certified this round with the same certificate. |

## SettlementMode

The settlement mode for a clearinghouse.

| Enums ||
|---|---|
| `SETTLEMENT_MODE_UNSPECIFIED` | The settlement mode is unspecified. This value is invalid and should not be used. |
| `SETTLEMENT_MODE_DEFERRED` | The clearinghouse is responsible for tracking the ownership of the off-ledger funds, and periodically issuing `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementRequest` transactions to maintain the corresponding balances on the ledger in sync. |
| `SETTLEMENT_MODE_INSTANT` | The clearinghouse maintains a single pool of funds and the ledger acts as the golden source for the allocation of those funds between the token managers. This settlement mode can also be described as "instant gross settlement." |

## SettlementRequest

Initiates a settlement operation between two token managers. The sender must be a clearinghouse account.

In the deferred `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SettlementMode` where the clearinghouse has custody of the token manager funds, this is the only transaction that needs to be sent to execute a settlement between the two token managers.

| Fields ||
|---|---|
| `payer_id` | `string` Required. Immutable. The account ID of the party that needs to make the fund transfer. |
| `beneficiary_id` | `string` Required. Immutable. The account ID of the party that will receive the funds. |
| `balance` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. Immutable. The balance of issued tokens that need to be transferred by the `payer` account to the `beneficiary` account on the ledger. |
| `round_id` | `int64` Required. Immutable. The round ID at which this settlement amount was computed. |

## SignedQueryRequest

A signed query request from the client.

| Fields ||
|---|---|
| `serialized_client_query` | `bytes` Required. A protobuf serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientQuery` to query the Universal Ledger network. |
| `sender_signature` | `bytes` Optional. The signature of the sender of the query request, computed over the `serialized_client_query` bytes. If this field is omitted, the query is treated as anonymous, and only public information will be returned. The signature is verified by the server only if the sender identifier is provided in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientQuery`. The signature is rejected if expiry time in the serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientQuery` is missing, is in the past, or more than 5 minutes in the future. |
| `sender_signing_key_slot` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` Optional. The key slot of the sender used to sign the query request. Uses the primary slot of the sender account if not specified. |

## SignedTransaction

A transaction with attached signatures. To submit a transaction, this message should be serialized and included in a `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SubmitTransactionRequest`.

| Fields ||
|---|---|
| `serialized_client_transaction` | `bytes` Required. A serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientTransaction` with the transaction details. |
| `sender_signature` | `bytes` Required. The signature of the transaction sender. The signature should be computed by signing the `serialized_client_transaction` bytes with their own private key. For a transaction chain, the bytes to be signed are computed as the concatenation of: - A digest of the serialized client transaction of the entire chain. - A digest of the serialized signed transaction of each unit in the chain, in the order they appear in the chain. The digests are computed using SHA-256. |
| `sender_signing_key_slot` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` Optional. The key slot of the sender used to sign the transaction. Uses the primary slot of the sender account if not specified. |
| `other_signatures[]` | `bytes` Optional. The signatures of accounts listed as additional transaction signatories. The number and order of these signatures must match the `signatories` field in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ClientTransaction`. The bytes to be signed are the same as those for the `sender_signature`, which each signatory should sign with their own private key. The number and identity of additional signatories depends on the particular transaction kind. For a transaction chain, one signature is needed for each account appearing either as the sender or as a signatory of a unit in the chain. |
| `other_signing_key_slots[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeySlot` Optional. The key slots of the accounts listed as additional transaction signatories. If set, the number and order of these key slots must match the `other_signatures` field in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedTransaction`. Defaults to the primary slot of each account if not specified. |

## StatusEvent

Represents an event in the processing of a transaction as observed by a single validator.

All values reported are from the perspective of the validator handling the request and may differ from the view of other validators.

| Fields ||
|---|---|
| `event_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time when the event was recorded by this validator. |
| `event_type` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.EventType` Output only. The type of the event. |
| `event_details` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.EventDetails` Output only. Additional details associated with the event. |

## StringList

A list of strings.

| Fields ||
|---|---|
| `values[]` | `string` Optional. The string values. |

## SubmitOperationalTransactionRequest

Request message for SubmitOperationalTransaction.

| Fields ||
|---|---|
| `endpoint` | `string` Required. The endpoint to serve the request. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region. |
| `serialized_signed_operational_transaction` | `bytes` Required. A protobuf serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedTransaction` to submit to the ledger. The enclosed client transaction must be an operational transaction, and the sender must be the platform operator. Using a serialized format ensures that all validators compute the same transaction ID as the SHA-256 digest of the serialized bytes. |

## SubmitOperationalTransactionResponse

Response message for SubmitOperationalTransaction.

| Fields ||
|---|---|
| `transaction_digest_hex` | `string` Identifier that uniquely represents the submitted operational transaction. It is the hexadecimal representation of the SHA-256 digest of the `serialized_signed_operational_transaction`. This transaction ID is provided so that a client can track the transaction without needing to implement the hashing logic itself. The identifier can be directly used in subsequent API calls, for example to query the transaction state. |

## SubmitTransactionRequest

Request message for SubmitTransaction.

| Fields ||
|---|---|
| `endpoint` | `string` Required. The endpoint to submit the transaction to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` The location is a region. |
| `serialized_signed_transaction` | `bytes` Required. A protobuf serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedTransaction` to submit to the ledger. Using a serialized format ensures that all validators compute the same transaction ID as the SHA-256 digest of the serialized bytes. |

## SubmitTransactionResponse

Response message for SubmitTransaction.

| Fields ||
|---|---|
| `transaction_digest_hex` | `string` Identifier that uniquely represents the submitted transaction. It is the hexadecimal representation of the SHA-256 digest of the `serialized_signed_transaction`. This transaction ID is provided so that a client can track the transaction without needing to implement the hashing logic itself. The identifier can be directly used in subsequent API calls, for example to query the transaction state. |

## TokenManagerDetails

Details specific to a Token Manager.

| Fields ||
|---|---|
| `issuance_limit` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The amount of tokens this token manager is allowed to mint. |
| `issued_tokens` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The amount of tokens minted by this token manager. This number will increase when minting and decrease when burning. |

## TransactionAttempt

The state of an attempted transaction submission.

| Fields ||
|---|---|
| `status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionAttempt.TransactionStatus` Output only. The current status of the transaction attempt. |
| `proof_of_inclusion` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ProofOfInclusion` Output only. Certificate of the inclusion of the transaction effects in the world state. Only provided if status is `FINALIZED`. |
| `status_events[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.StatusEvent` Output only. The ordered status events recorded for the transaction attempt. |

## TransactionStatus

The status of the transaction attempt.

| Enums ||
|---|---|
| `TRANSACTION_STATUS_UNSPECIFIED` | Unknown or uninitialized state. |
| `PENDING` | The transaction is known to this validator, but it is not finalized yet. |
| `FINALIZED` | The transaction is finalized. Its effects have been persisted on the blockchain and cannot be reversed. |

## TransactionCertificate

Certificate of the execution of a specific transaction in a round.

| Fields ||
|---|---|
| `transaction_digest_hex` | `string` Output only. The ID of the transaction this certificate is for. |
| `round_id` | `int64` Output only. The ID of the execution round at which this transaction was executed in. |
| `transaction_effects` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEffects` Output only. The effects from the transaction execution. |
| `events[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEvent` Output only. Events produced by the transaction. |
| `transaction_effects_state_checksum_hex` | `string` Output only. Homomorphic checksum of the effects. A 2048 byte value encoded as a hexadecimal string. |
| `certification_results_digest_hex` | `string` Output only. The cryptographic digest of all the previous fields in sequence. Used to build a Merkle tree for the proof of inclusion. |

## TransactionChain

A transaction chain including multiple transaction units to execute in sequence.

The units will be executed sequentially, in the order they are listed. If all of the units succeed, their cumulative effects will be committed atomically to the world state. Otherwise, if any of them fails, the whole chain will be failed and none of its effects will be applied.

| Fields ||
|---|---|
| `units[]` | `bytes` The individual units of the chain. Each unit must be a serialized `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.SignedTransaction`. Note that the serialized bytes are required in order to determine the bytes to be signed for the chain itself. |

## TransactionEffect

Represents an update by some transaction to the world state.

If it has a `delta_val`, it is assumed to be a delta (an integer offset) applied to the previously stored value on a given key. In that case, `new_val` and `old_val` should be empty.

Otherwise, it is assumed to have at least one of `old_val` or `new_val` (or both). An empty `old_val` indicates the value was inserted. An empty `new_val` indicates the value was deleted.

| Fields ||
|---|---|
| `key` | `bytes` Output only. The key in the world state that was updated. |
| `old_val` | `bytes` Output only. The value of the key before the transaction was executed. |
| `new_val` | `bytes` Output only. The value of the key after the transaction was executed. |
| `delta_val` | `int64` Output only. An integer offset that was applied to the previously stored value. |

## TransactionEffects

Effects of the execution of a transaction.

| Fields ||
|---|---|
| `status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionStatus` Output only. The resulting status of the transaction execution. |
| `effects[] (deprecated)` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEffect` > [!WARNING] > This item is deprecated! Output only. Deprecated: Query the network state instead to determine any changes to the world state. The effects of the transaction in the world state. |

## TransactionEvent

An event produced by a transaction.

| Fields ||
|---|---|
| `type` | `string` Output only. The type of event. A special event of type `transaction_output` contains the outputs produced by the transaction---for example, the account ID of a newly created account. |
| `attributes[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionEvent.EventAttribute` Output only. The event attributes as arbitrary key-value pairs. |

## EventAttribute

An individual attribute as a key-value pair.

| Fields ||
|---|---|
| `key` | `string` Output only. The key of the attribute. |
| `value` | `string` Output only. The value of the attribute. |

## TransactionState

The state of a transaction.

| Fields ||
|---|---|
| `transaction_attempts[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionAttempt` One entry per each known submission of the transaction to the validator handling the request. |

## TransactionStateQuery

A request to query the state of a transaction.

| Fields ||
|---|---|
| `transaction_digest_hex` | `string` Required. The transaction ID to get the state of. |

## TransactionStatus

Represents the status of a transaction execution.

| Fields ||
|---|---|
| `code` | `int32` Output only. The status code, a numeric value whose meaning is defined by the corresponding [gRPC status code](https://github.com/grpc/grpc/blob/master/doc/statuscodes.md). |
| `message` | `bytes` Output only. The error message, if any. Set only if code is not `OK`. This is a string encoded as utf-8 bytes. Stored as bytes to prevent any issues with the determinism of the encoding. |

## Transfer

Transfers tokens from one user account to another. The sender must be a regular user account, as opposed to a privileged account like a token manager or an account manager.

Additionally, the transaction sender must have the `ROLE_PAYER` enabled on it, while the receiver must have the `ROLE_RECEIVER` enabled on it.

| Fields ||
|---|---|
| `beneficiary_id` | `string` Required. The ID of the account that receives the tokens. |
| `amount` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Required. The amount to transfer. The amount must be positive. |

## TransferContractTokenManager

Transfers the ownership of the contract token manager to a new account. The sender must be the current currency operator for the currency.

If the transaction is successful, deactivates the current contract token manager for the currency, and the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new contract token manager. Note that this is *not* the public key of the operator. This is the public key of the *new* contract token manager and it will be stored on the ledger. It will be used to validate the signature of the transactions emanating from the contract token manager's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |

## TransferCurrencyOperator

Transfers the ownership of the given currency operator to a new account. The sender must be the platform operator.

If the transaction is successful, deactivates the given currency operator, and the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new currency operator. This public key will be associated with the currency operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the currency operator's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |
| `currency_operator_id` | `string` Required. The ID of the currency operator to be replaced. Must be active. The value is limited to 60 characters. |

## TransferPlatformOperator

Transfers the ownership of the platform operator to a new account. The sender must be the current platform operator.

If the transaction is successful, deactivates the current platform operator, and the ID of the newly created account is returned as an event in the `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.TransactionCertificate` of the finalized transaction.

| Fields ||
|---|---|
| `public_key` | `bytes` Required. The public key of the new platform operator. This public key will be associated with the platform operator and stored on the ledger. It will be used to validate the signature of the transactions emanating from the platform operator's account. The format of the public key is defined by the `key_format` field. Considered public information. |
| `key_format` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.KeyFormat` Optional. Immutable. The key format of the public key. If not specified, defaults to a binary serialized keyset in [Tink wire format](https://developers.google.com/tink/wire-format#keyset_serialization). Considered public information. |
| `account_comment` | `string` Optional. Immutable. An opaque comment field that is not interpreted by the system but stored on the ledger in the account. Considered public information. Maximum length is 128 characters. May be left empty. Once created, the field is immutable. |

## UserDetails

Details specific to a User account.

| Fields ||
|---|---|
| `account_manager_id` | `string` Output only. The ID of the account manager for this user. |
| `token_manager_id` | `string` Output only. The ID of the token manager for this user. |
| `roles[]` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Role` Output only. The list of roles granted to this account. |
| `account_status` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountStatus` Output only. The status of this account. |
| `balance` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.CurrencyValue` Output only. The token balance of this user account. |
| `contract_account_fields` | ``map<string, `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.Fields`>`` Output only. The contract account fields (contract ID -\> fields) for this user. |

## Value

A concrete value of some type.

| Fields ||
|---|---|
| Union field `value`. The actual value. `value` can be only one of the following: ||
| `none_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.NoneValue` Optional. Represents a None value. |
| `bool_value` | `bool` Optional. A boolean value. |
| `int64_value` | `int64` Optional. An int64 value. |
| `string_value` | `string` Optional. A string value. |
| `dict_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.DictValue` Optional. A dictionary value. |
| `contract_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ContractValue` Optional. A contract reference. |
| `list_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.ListValue` Optional. A list value. |
| `qualified_currency_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.QualifiedCurrencyValue` Optional. A qualified currency value. |
| `account_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AccountValue` Optional. An account value. |
| `amount_value` | `https://docs.cloud.google.com/universal-ledger/reference/rpc/google.cloud.universalledger.v1#google.cloud.universalledger.v1.AmountValue` Optional. An amount value. |