diff --git a/CIP-0030/README.md b/CIP-0030/README.md index 600adf76f..b8087dc00 100644 --- a/CIP-0030/README.md +++ b/CIP-0030/README.md @@ -202,11 +202,11 @@ Errors: `APIError` Returns the network id of the currently connected account. 0 is testnet and 1 is mainnet but other networks can possibly be returned by wallets. Those other network ID values are not governed by this document. This result will stay the same unless the connected account has changed. -### api.getUtxos(amount: cbor\ = undefined, paginate: Paginate = undefined): Promise\ +### api.getUtxos(amount: cbor\ = undefined, paginate: Paginate = undefined): Promise\ Errors: `APIError`, `PaginateError` -If `amount` is `undefined`, this shall return a list of all UTXOs (unspent transaction outputs) controlled by the wallet. If `amount` is not `undefined`, this request shall be limited to just the UTXOs that are required to reach the combined ADA/multiasset value target specified in `amount`, and if this cannot be attained, `undefined` shall be returned. The results can be further paginated by `paginate` if it is not `undefined`. +If `amount` is `undefined`, this shall return a list of all UTXOs (unspent transaction outputs) controlled by the wallet. If `amount` is not `undefined`, this request shall be limited to just the UTXOs that are required to reach the combined ADA/multiasset value target specified in `amount`, and if this cannot be attained, `null` shall be returned. The results can be further paginated by `paginate` if it is not `undefined`. ### api.getCollateral(params: { amount: cbor\ }): Promise\