Class WalletConnectInternalParams.Body.Builder
-
- All Implemented Interfaces:
public final class WalletConnectInternalParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
chainId
final WalletConnectInternalParams.Body.Builder chainId(WalletChainId chainId)
CAIP-2 formatted chain ID of the blockchain the
Walletto link is on. eip155:0 is used for EOA wallets
-
chainId
final WalletConnectInternalParams.Body.Builder chainId(JsonField<WalletChainId> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed WalletChainId value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
walletAddress
final WalletConnectInternalParams.Body.Builder walletAddress(String walletAddress)
Address of the
Wallet.
-
walletAddress
final WalletConnectInternalParams.Body.Builder walletAddress(JsonField<String> walletAddress)
Sets Builder.walletAddress to an arbitrary JSON value.
You should usually call Builder.walletAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isShared
final WalletConnectInternalParams.Body.Builder isShared(Boolean isShared)
Is the linked Wallet shared or not
-
isShared
final WalletConnectInternalParams.Body.Builder isShared(JsonField<Boolean> isShared)
Sets Builder.isShared to an arbitrary JSON value.
You should usually call Builder.isShared with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WalletConnectInternalParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WalletConnectInternalParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WalletConnectInternalParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WalletConnectInternalParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WalletConnectInternalParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WalletConnectInternalParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.chainId() .walletAddress()
-
-
-
-