Class WalletConnectInternalParams.Body
-
- All Implemented Interfaces:
public final class WalletConnectInternalParams.BodyInput parameters for connecting an
Accountto aWalletowned by theEntity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWalletConnectInternalParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final WalletConnectInternalParams.Body.BuildertoBuilder()final WalletConnectInternalParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WalletConnectInternalParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WalletConnectInternalParams.Body.Builder toBuilder()
-
validate
final WalletConnectInternalParams.Body validate()
-
builder
final static WalletConnectInternalParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.chainId() .walletAddress()
-
-
-
-