# US 2022/0036322 A1 · Systems and Methods for Withdrawal Consolidation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0036322 A1
- Document ID: US20220036322A1
- Status: Published application
- Kind: A1
- Application number: 17/500,578
- Filed: 2021-10-13
- Published: 2022-02-03
- Earliest claimed: 2019-03-05
- Assignees: Coinbase, Inc.
- Applicants: Coinbase, Inc.
- Inventors: Bojan Joveski; Paul Collier; Maksim Stepanenko; Justin O'Brien; Vipul Patil; Sahil Amoli
- Web page: https://patentgrep.com/patent/US20220036322A1

## CPC

- G06Q 20/065: {using e-cash}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06Q 20/3825: {Use of electronic signatures}
- G06Q 20/3829: {involving key management}
- G06Q 20/401: {Transaction verification}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06Q 20/36: using electronic wallets or electronic money safes
- G06Q 2220/00: Business processing using cryptography
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for performing consolidation of several cryptocurrency payments by using a non-custodial cryptocurrency platform. A consolidation address is generated at the non-custodial platform in response to a withdrawal request. The consolidation address is under direct ownership of a user. At least one unsigned consolidation transaction is generated that identifies at least one selected payment representation as input, and the generated consolidation address as an output. An unsigned destination transaction is also generated. The unsigned destination transaction identifies the generated consolidation address as an input and the withdrawal destination as an output. A signed version of each consolidation transaction and a signed version of the destination transaction are received from a signing enclave. The signing enclave is included in a client device of the user.

## Claims

### Claim 1

A non-custodial cryptocurrency platform, comprising:
at least one processor; and
memory storing computer-readable instructions that, when executed, cause the non-custodial cryptocurrency platform to:
receive an extended public key from a client device via a network:
receive a withdrawal request from the client device, the withdrawal request identifying a withdrawal amount and a withdrawal destination;
select, using payment unit information stored by the non-custodial cryptocurrency platform for a user of the client device, payment representations to satisfy the withdrawal request;
in response to the withdrawal request, generate, using the extended public key received from the client device, a consolidation address that is under direct ownership of the user, wherein the platform does not store a private key for the consolidation address;
generate at least one unsigned consolidation transaction that identifies at least one selected payment representation as an input and the generated consolidation address as an output;
generate an unsigned destination transaction that identifies the generated consolidation address as an input and the withdrawal destination as an output;
send, via the network, the unsigned destination transaction and each unsigned consolidation transaction to a signing enclave included in the client device, wherein the signing enclave stores the private key for the consolidation address;
receive, from the signing enclave via the network:
a signed destination transaction for the unsigned destination transaction sent to the signing enclave, wherein the signed destination transaction includes a signature generated by using the private key for the consolidation address; and
a signed consolidation transaction for each unsigned consolidation transaction sent to the signing enclave; and
send the signed destination transaction and each signed consolidation transaction to a cryptocurrency network.

### Claim 2 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the withdrawal destination is a cryptocurrency address, and wherein the payment representations are unspent transaction outputs.

### Claim 3 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the stored payment unit information identifies payment destinations used for payment transactions to the user.

### Claim 4 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the non-custodial cryptocurrency platform receives the withdrawal request via an HTTP (Hypertext Transfer Protocol) application programming interface (API) of the non-custodial cryptocurrency platform, and provides each unsigned transaction to the signing enclave included via HTTP.

### Claim 5 (depends on 4)

The non-custodial cryptocurrency platform of claim 4, wherein the instructions further cause the non-custodial cryptocurrency platform to send, by the non-custodial cryptocurrency platform, machine-executable instructions of the signing enclave to the client device via HTTP.

### Claim 6 (depends on 5)

The non-custodial cryptocurrency platform of claim 5, wherein the instructions cause the non-custodial cryptocurrency platform to send the machine-executable instructions of the signing enclave to the client device by causing the non-custodial cryptocurrency platform to send machine-executable instructions of a front end module to the client device, wherein the machine-executable instructions of the front end module include the machine-executable instructions of the signing enclave and machine-executable instructions of a Hierarchical Deterministic (HD) digital wallet.

### Claim 7 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the instructions cause the non-custodial cryptocurrency platform to select payment representations to satisfy the withdrawal request by causing the non-custodial cryptocurrency platform to:
calculate estimated fees for the withdrawal request; and
select payment representations whose combined amounts are greater than or equal to a sum of the withdrawal amount and the estimated fees.

### Claim 8 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the signing enclave verifies each unsigned transaction, and wherein the signing enclave signs each verified unsigned transaction.

### Claim 9 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the signing enclave is controlled by one of an accounting system, a billing system, a point of sale system, and an e-commerce system.

### Claim 10 (depends on 1)

The non-custodial cryptocurrency platform of claim 1, wherein the instructions further cause the non-custodial cryptocurrency platform to:
receive a charge request from a payor system, wherein the charge request is a request to pay the user on behalf of a payor;
in response to the charge request:
determine a payment destination for the user; and
send information identifying the payment destination to the payor system;
monitor for verification of a payment transaction to the payment destination; and
in response to verification of the payment transaction to the payment destination, update the stored payment unit information for the user to include information identifying the payment destination used for the payment transaction.

### Claim 11 (depends on 10)

The non-custodial cryptocurrency platform of claim 10, wherein the instructions further cause the non-custodial cryptocurrency platform to determine a payment destination for the user in response to the charge request by causing the non-custodial cryptocurrency platform to receive information identifying the payment destination from the client device.

### Claim 12 (depends on 10)

The non-custodial cryptocurrency platform of claim 10, wherein the instructions further cause the non-custodial cryptocurrency platform to determine a payment destination for the user in response to the charge request by causing the non-custodial cryptocurrency platform to generate a payment address by using an extended public key received from the client device.

### Claim 13 (depends on 12)

The non-custodial cryptocurrency platform of claim 12,
wherein the non-custodial cryptocurrency platform uses the extended public key to generate a new payment destination for the user for each charge request for payment to the user, and
wherein the payment unit information identifies the payment destination for each charge request for payment to the user.

### Claim 14 (depends on 13)

The non-custodial cryptocurrency platform of claim 13, wherein each charge request is a request for payment to the user using the cryptocurrency network.

### Claim 15 (depends on 12)

The non-custodial cryptocurrency platform of claim 12, wherein the instructions further cause the non-custodial cryptocurrency platform to:
generate a total balance for the user for charge requests for the cryptocurrency network by using the stored payment unit information; and
provide the generated total balance to the client device.

### Claim 16

One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by at least one processor, cause a non-custodial cryptocurrency platform to:
receive an extended public key from a client device via a network:
receive a withdrawal request from the client device, the withdrawal request identifying a withdrawal amount and a withdrawal destination;
select, using payment unit information stored by the non-custodial cryptocurrency platform for a user of the client device, payment representations to satisfy the withdrawal request;
in response to the withdrawal request, generate, using the extended public key received from the client device, a consolidation address that is under direct ownership of the user, wherein the platform does not store a private key for the consolidation address;
generate at least one unsigned consolidation transaction that identifies at least one selected payment representation as an input and the generated consolidation address as an output;
generate an unsigned destination transaction that identifies the generated consolidation address as an input and the withdrawal destination as an output;
send, via the network, the unsigned destination transaction and each unsigned consolidation transaction to a signing enclave included in the client device. wherein the signing enclave stores the private key for the consolidation address;
receive, from the signing enclave via the network:
a signed destination transaction for the unsigned destination transaction sent to the signing enclave, wherein the signed destination transaction includes a signature generated by using the private key for the consolidation address; and
a signed consolidation transaction for each unsigned consolidation transaction sent to the signing enclave; and
send the signed destination transaction and each signed consolidation transaction to a cryptocurrency network.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the instructions further cause the non-custodial cryptocurrency platform to select payment representations to satisfy the withdrawal request by causing the non-custodial cryptocurrency platform to:
calculate estimated fees for the withdrawal request; and
select payment representations whose combined amounts are greater than or equal to a sum of the withdrawal amount and the estimated fees.

### Claim 18 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the non-custodial cryptocurrency platform receives the withdrawal request via an HTTP (Hypertext Transfer Protocol) application programming interface (API) of the non-custodial cryptocurrency platform, and provides each unsigned transaction to the signing enclave included via HTTP.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein the instructions further cause the non-custodial cryptocurrency platform to send, by the non-custodial cryptocurrency platform, machine-executable instructions of the signing enclave to the client device via HTTP.

### Claim 20 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the signing enclave verifies each unsigned transaction, and wherein the signing enclave signs each verified unsigned transaction.
