Class WithdrawalServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.v2.accounts.WithdrawalService
public final class WithdrawalServiceImpl implements WithdrawalService
Withdrawalsrepresent the transfer of stablecoins from anAccountconnected to a managedWalletto anotherAccountthat is owned by theEntity.Since the
Accountis backed by a managedWallet, theWithdrawalmust be processed by Dinari and the corresponding transaction is submitted on chain.Upon requesting a withdrawal, a
WithdrawalRequestis created, which is then submitted on chain by Dinari. Once the transfer is submitted on chain, the correspondingWithdrawalis created.Currently, withdrawals are made in USDC on the Arbitrum network (Chain ID
eip155:42161).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWithdrawalServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description WithdrawalService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WithdrawalServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. Withdrawalretrieve(WithdrawalRetrieveParams params, RequestOptions requestOptions)List<Withdrawal>list(WithdrawalListParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
WithdrawalService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
WithdrawalService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
Withdrawal retrieve(WithdrawalRetrieveParams params, RequestOptions requestOptions)
-
list
List<Withdrawal> list(WithdrawalListParams params, RequestOptions requestOptions)
-
-
-
-