Skip to content

Overview

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:10

P2pkh: 1

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:12

P2sh: 2

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:13

P2tr: 4

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:15

P2wpkhV0: 0

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:11

P2wsh: 3

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:14


Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:3

Mainnet: 0

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:4

Regtest: 1

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:5

Testnet: 2

Defined in: packages/canisters/src/ckbtc/enums/btc.enums.ts:6

Defined in: packages/canisters/src/ckbtc/bitcoin.canister.ts:16

protected new BitcoinCanister(id, service, certifiedService): BitcoinCanister

Defined in: packages/utils/dist/services/canister.d.ts:7

Principal

_SERVICE

_SERVICE

BitcoinCanister

Canister<BitcoinService>.constructor

protected caller: (__namedParameters) => _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:9

QueryParams

_SERVICE

Canister.caller

protected readonly certifiedService: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:6

Canister.certifiedService

protected readonly service: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:5

Canister.service

get canisterId(): Principal

Defined in: packages/utils/dist/services/canister.d.ts:8

Principal

Canister.canisterId

getBalanceQuery(params): Promise<bigint>

Defined in: packages/canisters/src/ckbtc/bitcoin.canister.ts:63

Given a get_balance_request, which must specify a Bitcoin address and a Bitcoin network (mainnet, testnet or regtest), the function returns the current balance of this address in Satoshi (10^8 Satoshi = 1 Bitcoin) in the specified Bitcoin network.

⚠️ Note that this method does not support certified calls because only canisters are allowed to get Bitcoin balance via update calls.

GetBalanceParams

Promise<bigint>

The balance is returned in Satoshi (10^8 Satoshi = 1 Bitcoin).

https://internetcomputer.org/docs/current/references/ic-interface-spec#ic-bitcoin_get_balance

getUtxosQuery(params): Promise<get_utxos_response>

Defined in: packages/canisters/src/ckbtc/bitcoin.canister.ts:41

Given a get_utxos_request, which must specify a Bitcoin address and a Bitcoin network (mainnet, testnet or regtest), the function returns all unspent transaction outputs (UTXOs) associated with the provided address in the specified Bitcoin network based on the current view of the Bitcoin blockchain available to the Bitcoin component.

⚠️ Note that this method does not support certified calls because only canisters are allowed to get UTXOs via update calls.

GetUtxosParams

Promise<get_utxos_response>

The UTXOs are returned sorted by block height in descending order.

https://internetcomputer.org/docs/current/references/ic-interface-spec#ic-bitcoin_get_utxos

static create(options): BitcoinCanister

Defined in: packages/canisters/src/ckbtc/bitcoin.canister.ts:17

CkBtcCanisterOptions<_SERVICE>

BitcoinCanister


Defined in: packages/canisters/src/ckbtc/minter.canister.ts:38

protected new CkBtcMinterCanister(id, service, certifiedService): CkBtcMinterCanister

Defined in: packages/utils/dist/services/canister.d.ts:7

Principal

_SERVICE

_SERVICE

CkBtcMinterCanister

Canister<CkBtcMinterService>.constructor

protected caller: (__namedParameters) => _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:9

QueryParams

_SERVICE

Canister.caller

protected readonly certifiedService: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:6

Canister.certifiedService

protected readonly service: _SERVICE

Defined in: packages/utils/dist/services/canister.d.ts:5

Canister.service

get canisterId(): Principal

Defined in: packages/utils/dist/services/canister.d.ts:8

Principal

Canister.canisterId

estimateWithdrawalFee(params): Promise<EstimateWithdrawalFee>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:237

Returns an estimation of the user’s fee (in Satoshi) for a retrieve_btc request based on the current status of the Bitcoin network and the fee related to the minter.

EstimateWithdrawalFeeParams

The parameters to estimate the fee.

Promise<EstimateWithdrawalFee>

getBtcAddress(params): Promise<string>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:60

Returns a BTC address for a given account.

Note: an update call is required by the Minter canister.

MinterParams

The parameters for which a BTC address should be resolved.

Promise<string>

The BTC address of the given account.

getKnownUtxos(params): Promise<Utxo[]>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:266

Returns UTXOs of the given account known by the minter.

GetKnownUtxosParams

The parameters for which the known utxos should be resolved.

Promise<Utxo[]>

The known utxos (with no guarantee in the ordering).

getMinterInfo(params): Promise<MinterInfo>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:251

Returns internal minter parameters such as the minimal amount to retrieve BTC, minimal number of confirmations or KYT fee.

QueryParams

The parameters to get the minter info.

Promise<MinterInfo>

getWithdrawalAccount(): Promise<Account>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:102

Returns the account to which the caller should deposit ckBTC before withdrawing BTC using the [retrieveBtc] endpoint.

Promise<Account>

The account to which ckBTC needs to be transferred. Provide corresponding information to map an Icrc1 account.

retrieveBtc(params): Promise<RetrieveBtcOk>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:121

Submits a request to convert ckBTC to BTC.

Note:

The BTC retrieval process is slow. Instead of synchronously waiting for a BTC transaction to settle, this method returns a request ([block_index]) that the caller can use to query the request status.

Preconditions:

The caller deposited the requested amount in ckBTC to the account that the [getWithdrawalAccount] endpoint returns.

RetrieveBtcParams

The parameters are the bitcoin address and amount to convert.

Promise<RetrieveBtcOk>

The result or the operation.

retrieveBtcStatus(transactionId): Promise<RetrieveBtcStatus>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:185

Returns the status of a specific BTC withdrawal based on the transaction ID of the corresponding burn transaction.

The ID of the corresponding burn transaction.

boolean

bigint

Promise<RetrieveBtcStatus>

The status of the BTC retrieval request.

retrieveBtcStatusV2ByAccount(certified): Promise<RetrieveBtcStatusV2WithId[]>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:203

Returns the status of all BTC withdrawals for an account.

RetrieveBtcStatusV2ByAccountParams

query or update call

Promise<RetrieveBtcStatusV2WithId[]>

The statuses of the BTC retrieval requests.

retrieveBtcWithApproval(__namedParameters): Promise<RetrieveBtcOk>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:153

Submits a request to convert ckBTC to BTC after making an ICRC-2 approval.

The BTC retrieval process is slow. Instead of synchronously waiting for a BTC transaction to settle, this method returns a request ([block_index]) that the caller can use to query the request status.

The caller allowed the minter’s principal to spend its funds using [icrc2_approve] on the ckBTC ledger.

string

bigint

Uint8Array<ArrayBufferLike>

Promise<RetrieveBtcOk>

The result or the operation.

updateBalance(params): Promise<UpdateBalanceOk>

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:79

Notify the minter about the bitcoin transfer.

Upon successful notification, new ckBTC should be available on the targeted address.

MinterParams

The parameters are the address to which bitcoin where transferred.

Promise<UpdateBalanceOk>

The result of the balance update.

static create(options): CkBtcMinterCanister

Defined in: packages/canisters/src/ckbtc/minter.canister.ts:39

CkBtcCanisterOptions<_SERVICE>

CkBtcMinterCanister


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:6

new MinterAlreadyProcessingError(message?): MinterAlreadyProcessingError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterAlreadyProcessingError

MinterGenericError.constructor

new MinterAlreadyProcessingError(message?, options?): MinterAlreadyProcessingError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterAlreadyProcessingError

MinterGenericError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterGenericError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterGenericError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterGenericError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterGenericError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterGenericError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterGenericError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterGenericError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterGenericError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:27

new MinterAmountTooLowError(message?): MinterAmountTooLowError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterAmountTooLowError

MinterRetrieveBtcError.constructor

new MinterAmountTooLowError(message?, options?): MinterAmountTooLowError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterAmountTooLowError

MinterRetrieveBtcError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterRetrieveBtcError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterRetrieveBtcError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterRetrieveBtcError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterRetrieveBtcError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterRetrieveBtcError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterRetrieveBtcError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterRetrieveBtcError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterRetrieveBtcError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:4

  • Error

new MinterGenericError(message?): MinterGenericError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterGenericError

Error.constructor

new MinterGenericError(message?, options?): MinterGenericError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterGenericError

Error.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

Error.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

Error.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

Error.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

Error.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

Error.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

Error.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

Error.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Error.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:29

new MinterInsufficientAllowanceError(message?): MinterInsufficientAllowanceError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterInsufficientAllowanceError

MinterRetrieveBtcError.constructor

new MinterInsufficientAllowanceError(message?, options?): MinterInsufficientAllowanceError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterInsufficientAllowanceError

MinterRetrieveBtcError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterRetrieveBtcError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterRetrieveBtcError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterRetrieveBtcError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterRetrieveBtcError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterRetrieveBtcError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterRetrieveBtcError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterRetrieveBtcError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterRetrieveBtcError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:28

new MinterInsufficientFundsError(message?): MinterInsufficientFundsError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterInsufficientFundsError

MinterRetrieveBtcError.constructor

new MinterInsufficientFundsError(message?, options?): MinterInsufficientFundsError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterInsufficientFundsError

MinterRetrieveBtcError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterRetrieveBtcError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterRetrieveBtcError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterRetrieveBtcError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterRetrieveBtcError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterRetrieveBtcError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterRetrieveBtcError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterRetrieveBtcError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterRetrieveBtcError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:26

new MinterMalformedAddressError(message?): MinterMalformedAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterMalformedAddressError

MinterRetrieveBtcError.constructor

new MinterMalformedAddressError(message?, options?): MinterMalformedAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterMalformedAddressError

MinterRetrieveBtcError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterRetrieveBtcError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterRetrieveBtcError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterRetrieveBtcError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterRetrieveBtcError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterRetrieveBtcError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterRetrieveBtcError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterRetrieveBtcError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterRetrieveBtcError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:9

new MinterNoNewUtxosError(__namedParameters): MinterNoNewUtxosError

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:12

[] | [PendingUtxo[]]

number

MinterNoNewUtxosError

MinterUpdateBalanceError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterUpdateBalanceError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterUpdateBalanceError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterUpdateBalanceError.name

readonly pendingUtxos: PendingUtxo[]

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:10

readonly requiredConfirmations: number

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:11

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterUpdateBalanceError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterUpdateBalanceError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterUpdateBalanceError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterUpdateBalanceError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterUpdateBalanceError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:25

new MinterRetrieveBtcError(message?): MinterRetrieveBtcError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterRetrieveBtcError

MinterGenericError.constructor

new MinterRetrieveBtcError(message?, options?): MinterRetrieveBtcError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterRetrieveBtcError

MinterGenericError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterGenericError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterGenericError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterGenericError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterGenericError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterGenericError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterGenericError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterGenericError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterGenericError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:5

new MinterTemporaryUnavailableError(message?): MinterTemporaryUnavailableError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterTemporaryUnavailableError

MinterGenericError.constructor

new MinterTemporaryUnavailableError(message?, options?): MinterTemporaryUnavailableError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterTemporaryUnavailableError

MinterGenericError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterGenericError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterGenericError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterGenericError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterGenericError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterGenericError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterGenericError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterGenericError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterGenericError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:8

new MinterUpdateBalanceError(message?): MinterUpdateBalanceError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

MinterUpdateBalanceError

MinterGenericError.constructor

new MinterUpdateBalanceError(message?, options?): MinterUpdateBalanceError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

MinterUpdateBalanceError

MinterGenericError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

MinterGenericError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

MinterGenericError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

MinterGenericError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

MinterGenericError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

MinterGenericError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

MinterGenericError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

MinterGenericError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

MinterGenericError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:5

new ParseBtcAddressBadWitnessLengthError(message?): ParseBtcAddressBadWitnessLengthError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressBadWitnessLengthError

ParseBtcAddressError.constructor

new ParseBtcAddressBadWitnessLengthError(message?, options?): ParseBtcAddressBadWitnessLengthError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressBadWitnessLengthError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:1

  • Error

new ParseBtcAddressError(message?): ParseBtcAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressError

Error.constructor

new ParseBtcAddressError(message?, options?): ParseBtcAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressError

Error.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

Error.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

Error.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

Error.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

Error.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

Error.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

Error.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

Error.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Error.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:2

new ParseBtcAddressInvalidError(message?): ParseBtcAddressInvalidError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressInvalidError

ParseBtcAddressError.constructor

new ParseBtcAddressInvalidError(message?, options?): ParseBtcAddressInvalidError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressInvalidError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:8

new ParseBtcAddressMalformedAddressError(message?): ParseBtcAddressMalformedAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressMalformedAddressError

ParseBtcAddressError.constructor

new ParseBtcAddressMalformedAddressError(message?, options?): ParseBtcAddressMalformedAddressError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressMalformedAddressError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:3

new ParseBtcAddressNoDataError(message?): ParseBtcAddressNoDataError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressNoDataError

ParseBtcAddressError.constructor

new ParseBtcAddressNoDataError(message?, options?): ParseBtcAddressNoDataError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressNoDataError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


ParseBtcAddressUnexpectedHumanReadablePartError

Section titled “ParseBtcAddressUnexpectedHumanReadablePartError”

Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:7

new ParseBtcAddressUnexpectedHumanReadablePartError(message?): ParseBtcAddressUnexpectedHumanReadablePartError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressUnexpectedHumanReadablePartError

ParseBtcAddressError.constructor

new ParseBtcAddressUnexpectedHumanReadablePartError(message?, options?): ParseBtcAddressUnexpectedHumanReadablePartError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressUnexpectedHumanReadablePartError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


ParseBtcAddressUnsupportedAddressTypeError

Section titled “ParseBtcAddressUnsupportedAddressTypeError”

Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:4

new ParseBtcAddressUnsupportedAddressTypeError(message?): ParseBtcAddressUnsupportedAddressTypeError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressUnsupportedAddressTypeError

ParseBtcAddressError.constructor

new ParseBtcAddressUnsupportedAddressTypeError(message?, options?): ParseBtcAddressUnsupportedAddressTypeError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressUnsupportedAddressTypeError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


ParseBtcAddressUnsupportedWitnessVersionError

Section titled “ParseBtcAddressUnsupportedWitnessVersionError”

Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:6

new ParseBtcAddressUnsupportedWitnessVersionError(message?): ParseBtcAddressUnsupportedWitnessVersionError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressUnsupportedWitnessVersionError

ParseBtcAddressError.constructor

new ParseBtcAddressUnsupportedWitnessVersionError(message?, options?): ParseBtcAddressUnsupportedWitnessVersionError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressUnsupportedWitnessVersionError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace


Defined in: packages/canisters/src/ckbtc/errors/btc.errors.ts:9

new ParseBtcAddressWrongNetworkError(message?): ParseBtcAddressWrongNetworkError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ParseBtcAddressWrongNetworkError

ParseBtcAddressError.constructor

new ParseBtcAddressWrongNetworkError(message?, options?): ParseBtcAddressWrongNetworkError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

ParseBtcAddressWrongNetworkError

ParseBtcAddressError.constructor

optional cause: unknown

Defined in: node_modules/typescript/lib/lib.es2022.error.d.ts:26

ParseBtcAddressError.cause

message: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077

ParseBtcAddressError.message

name: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076

ParseBtcAddressError.name

optional stack: string

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078

ParseBtcAddressError.stack

static stackTraceLimit: number

Defined in: node_modules/@types/node/globals.d.ts:67

The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

The default value is 10 but may be set to any valid JavaScript number. Changes will affect any stack trace captured after the value has been changed.

If set to a non-number value, or set to a negative number, stack traces will not capture any frames.

ParseBtcAddressError.stackTraceLimit

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/@types/node/globals.d.ts:51

Creates a .stack property on targetObject, which when accessed returns a string representing the location in the code at which Error.captureStackTrace() was called.

const myObject = {};
Error.captureStackTrace(myObject);
myObject.stack; // Similar to `new Error().stack`

The first line of the trace will be prefixed with ${myObject.name}: ${myObject.message}.

The optional constructorOpt argument accepts a function. If given, all frames above constructorOpt, including constructorOpt, will be omitted from the generated stack trace.

The constructorOpt argument is useful for hiding implementation details of error generation from the user. For instance:

function a() {
b();
}
function b() {
c();
}
function c() {
// Create an error without stack trace to avoid calculating the stack trace twice.
const { stackTraceLimit } = Error;
Error.stackTraceLimit = 0;
const error = new Error();
Error.stackTraceLimit = stackTraceLimit;
// Capture the stack trace above function b
Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
throw error;
}
a();

object

Function

void

ParseBtcAddressError.captureStackTrace

static isError(error): error is Error

Defined in: node_modules/typescript/lib/lib.esnext.error.d.ts:23

Indicates whether the argument provided is a built-in Error instance or not.

unknown

error is Error

ParseBtcAddressError.isError

static prepareStackTrace(err, stackTraces): any

Defined in: node_modules/@types/node/globals.d.ts:55

Error

CallSite[]

any

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

ParseBtcAddressError.prepareStackTrace

Defined in: packages/canisters/src/ckbtc/types/btc.ts:3

address: string

Defined in: packages/canisters/src/ckbtc/types/btc.ts:4

optional network: BtcNetwork

Defined in: packages/canisters/src/ckbtc/types/btc.ts:5


Defined in: packages/canisters/src/ckbtc/types/btc.ts:8

address: string

Defined in: packages/canisters/src/ckbtc/types/btc.ts:4

BtcAddress.address

network: BtcNetwork

Defined in: packages/canisters/src/ckbtc/types/btc.ts:5

BtcAddress.network

parser: "bip-173" | "base58"

Defined in: packages/canisters/src/ckbtc/types/btc.ts:9

type: BtcAddressType

Defined in: packages/canisters/src/ckbtc/types/btc.ts:10


Defined in: packages/canisters/src/ckbtc/types/canister.options.ts:4

  • Omit<CanisterOptions<T>, "canisterId">

T

optional agent: Agent

Defined in: packages/utils/dist/types/canister.options.d.ts:4

NnsGovernanceCanisterOptions.agent

canisterId: Principal

Defined in: packages/canisters/src/ckbtc/types/canister.options.ts:9

optional certifiedServiceOverride: ActorSubclass<T>

Defined in: packages/utils/dist/types/canister.options.d.ts:7

Omit.certifiedServiceOverride

optional serviceOverride: ActorSubclass<T>

Defined in: packages/utils/dist/types/canister.options.d.ts:6

Omit.serviceOverride


Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:17

bitcoin_fee: bigint

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:19

minter_fee: bigint

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:18


Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:5

owner: Principal

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:6

optional subaccount: Uint8Array<ArrayBufferLike>

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:7


Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:22

id: bigint

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:23

status: RetrieveBtcStatusV2 | undefined

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:24

BitcoinNetwork = "testnet" | "mainnet" | "regtest"

Defined in: packages/canisters/src/ckbtc/types/bitcoin.params.ts:4


EstimateWithdrawalFeeParams = QueryParams & object

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:32

Params to estimate the fee of the Bitcoin network.

amount: bigint | undefined


GetBalanceParams = Omit<get_balance_request, "network" | "min_confirmations"> & object & Omit<QueryParams, "certified">

Defined in: packages/canisters/src/ckbtc/types/bitcoin.params.ts:36

optional minConfirmations: number

network: BitcoinNetwork


GetBTCAddressParams = MinterParams

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:16

Params to get a BTC address.


GetKnownUtxosParams = QueryParams & MinterParams

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:46

Params to get the known utxos.


GetUtxosParams = Omit<get_utxos_request, "network" | "filter"> & object & Omit<QueryParams, "certified">

Defined in: packages/canisters/src/ckbtc/types/bitcoin.params.ts:12

optional filter: { page: Uint8Array; } | { minConfirmations: number; }

network: BitcoinNetwork


MinterParams = Omit<QueryParams, "certified"> & Partial<MinterAccount>

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:10


RetrieveBtcParams = RetrieveBtcArgs & Omit<QueryParams, "certified">

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:26

Params to convert ckBTC to Bitcoin.


RetrieveBtcResponse = { Ok: RetrieveBtcOk; } | { Err: RetrieveBtcError; }

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:9


RetrieveBtcStatusV2ByAccountParams = QueryParams & object

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:39

Params to retrieve the status of all BTC withdrawals for an account.

optional account: MinterAccount


RetrieveBtcWithApprovalResponse = { Ok: RetrieveBtcOk; } | { Err: RetrieveBtcWithApprovalError; }

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:13


UpdateBalanceOk = UtxoStatus[]

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:3


UpdateBalanceParams = MinterParams

Defined in: packages/canisters/src/ckbtc/types/minter.params.ts:21

Params to update ckBTC balance after a bitcoin transfer.


UpdateBalanceResponse = { Ok: UpdateBalanceOk; } | { Err: UpdateBalanceError; }

Defined in: packages/canisters/src/ckbtc/types/minter.responses.ts:5

createRetrieveBtcError(Err): MinterGenericError

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:74

RetrieveBtcError

MinterGenericError


createRetrieveBtcWithApprovalError(Err): MinterGenericError

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:101

RetrieveBtcWithApprovalError

MinterGenericError


createUpdateBalanceError(Err): MinterGenericError

Defined in: packages/canisters/src/ckbtc/errors/minter.errors.ts:55

UpdateBalanceError

MinterGenericError


parseBtcAddress(params): BtcAddressInfo

Defined in: packages/canisters/src/ckbtc/utils/btc.utils.ts:195

Parse a Bitcoin address.

Parse implementation follows strategy implemented in Minter canister.

Credits: Parts of JavaScript code and test values from bitcoin-address-validation.

BtcAddress

The Bitcoin address and network to parse

BtcAddressInfo


toGetBalanceParams(__namedParameters): get_balance_request

Defined in: packages/canisters/src/ckbtc/types/bitcoin.params.ts:44

GetBalanceParams

get_balance_request


toGetUtxosParams(__namedParameters): get_utxos_request

Defined in: packages/canisters/src/ckbtc/types/bitcoin.params.ts:20

GetUtxosParams

get_utxos_request