Class ExternalConnectParams
-
- All Implemented Interfaces:
-
com.dinari.api.core.Params
public final class ExternalConnectParams implements Params
Connect a
Walletto theAccountafter verifying the signature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExternalConnectParams.BuilderA builder for ExternalConnectParams.
public final classExternalConnectParams.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 Stringnonce()Nonce contained within the connection message. final Stringsignature()Signature payload from signing the connection message with the Wallet.final StringwalletAddress()Address of the Wallet.final JsonField<WalletChainId>_chainId()Returns the raw JSON value of chainId. final JsonField<String>_nonce()Returns the raw JSON value of nonce. final JsonField<String>_signature()Returns the raw JSON value of signature. final JsonField<String>_walletAddress()Returns the raw JSON value of walletAddress. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final ExternalConnectParams.BuildertoBuilder()final ExternalConnectParams.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 ExternalConnectParams.Builderbuilder()Returns a mutable builder for constructing an instance of ExternalConnectParams. -
-
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
-
signature
final String signature()
Signature payload from signing the connection message with the
Wallet.
-
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.
-
_nonce
final JsonField<String> _nonce()
Returns the raw JSON value of nonce.
Unlike nonce, this method doesn't throw if the JSON field has an unexpected type.
-
_signature
final JsonField<String> _signature()
Returns the raw JSON value of signature.
Unlike signature, 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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final ExternalConnectParams.Builder toBuilder()
-
_body
final ExternalConnectParams.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 ExternalConnectParams.Builder builder()
Returns a mutable builder for constructing an instance of ExternalConnectParams.
The following fields are required:
.chainId() .nonce() .signature() .walletAddress()
-
-
-
-