Class WalletConnectInternalParams
-
- All Implemented Interfaces:
-
com.dinari.api.core.Params
public final class WalletConnectInternalParams implements Params
Connect an internal
Walletto theAccount.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWalletConnectInternalParams.BuilderA builder for WalletConnectInternalParams.
public final classWalletConnectInternalParams.BodyInput parameters for connecting an
Accountto aWalletowned by theEntity.
-
Method Summary
Modifier and Type Method Description final Optional<String>accountId()final WalletChainIdchainId()CAIP-2 formatted chain ID of the blockchain the Walletto link is on.final StringwalletAddress()Address of the Wallet.final Optional<Boolean>isShared()Is the linked Wallet shared or not final JsonField<WalletChainId>_chainId()Returns the raw JSON value of chainId. final JsonField<String>_walletAddress()Returns the raw JSON value of walletAddress. final JsonField<Boolean>_isShared()Returns the raw JSON value of isShared. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final WalletConnectInternalParams.BuildertoBuilder()final WalletConnectInternalParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static WalletConnectInternalParams.Builderbuilder()Returns a mutable builder for constructing an instance of WalletConnectInternalParams. -
-
Method Detail
-
chainId
final WalletChainId chainId()
CAIP-2 formatted chain ID of the blockchain the
Walletto link is on. eip155:0 is used for EOA wallets
-
walletAddress
final String walletAddress()
Address of the
Wallet.
-
_chainId
final JsonField<WalletChainId> _chainId()
Returns the raw JSON value of chainId.
Unlike chainId, this method doesn't throw if the JSON field has an unexpected type.
-
_walletAddress
final JsonField<String> _walletAddress()
Returns the raw JSON value of walletAddress.
Unlike walletAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_isShared
final JsonField<Boolean> _isShared()
Returns the raw JSON value of isShared.
Unlike isShared, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final WalletConnectInternalParams.Builder toBuilder()
-
_body
final WalletConnectInternalParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static WalletConnectInternalParams.Builder builder()
Returns a mutable builder for constructing an instance of WalletConnectInternalParams.
The following fields are required:
.chainId() .walletAddress()
-
-
-
-