Skip to main content
Package: com.coinbase.cdp.resources.transfers.requests

Method Details

getStatus

Returns: Optional<TransferStatus> - Filter transfers by status. Useful for building dashboards, monitoring active transfers, or finding transfers needing action.

getAccountId

Returns: Optional<AccountId> - Filter transfers by account ID. Returns transfers where the specified account is either the source or target (OR semantics). Cannot be combined with sourceAccountId or targetAccountId.

getSourceAccountId

Returns: Optional<AccountId> - Filter transfers by source account ID. Returns only transfers where the specified account is the source. Cannot be combined with accountId.

getTargetAccountId

Returns: Optional<AccountId> - Filter transfers by target account ID. Returns only transfers where the specified account is the target. Cannot be combined with accountId.

getCreatedAfter

Returns: Optional<OffsetDateTime> - Filter transfers to those created at or after this datetime (inclusive). ISO 8601 format.

getCreatedBefore

Returns: Optional<OffsetDateTime> - Filter transfers to those created at or before this datetime (inclusive). ISO 8601 format.

getUpdatedAfter

Returns: Optional<OffsetDateTime> - Filter transfers to those updated at or after this datetime (inclusive). ISO 8601 format. Useful for incremental sync — poll for transfers that changed state since your last check.

getUpdatedBefore

Returns: Optional<OffsetDateTime> - Filter transfers to those updated at or before this datetime (inclusive). ISO 8601 format.

getSourceAsset

Returns: Optional<String> - Filter transfers by source asset symbol (e.g., usd, usdc, eurc, eur).

getTargetAsset

Returns: Optional<String> - Filter transfers by target asset symbol (e.g., usdc, eurc, usd, eur).

getSourceAddress

Returns: Optional<BlockchainAddress> - Filter transfers by the on-chain address of the source.

getTargetAddress

Returns: Optional<BlockchainAddress> - Filter transfers by the on-chain destination address of the target.

getTargetEmail

Returns: Optional<Email> - Filter transfers by the email address of the target recipient.

getTransferId

Returns: Optional<String> - Filter to a specific transfer by ID. When provided, returns only the matching transfer and bypasses pagination.

getPageSize

Returns: Optional<Integer> - The number of resources to return per page.

getPageToken

Returns: Optional<String> - The token for the next page of resources, if any.

equals

Overrides: [equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Parameters: other - Object Returns: boolean

getAdditionalProperties

Returns: Map<String,Object>

hashCode

Overrides: [hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: int

toString

Overrides: [toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang") in class [Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang") Returns: String

builder

Returns: ListTransfersRequest.Builder