Class ExternalConnectParams.Body.Builder
-
- All Implemented Interfaces:
public final class ExternalConnectParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
chainId
final ExternalConnectParams.Body.Builder chainId(Chain chainId)
CAIP-2 formatted chain ID of the blockchain the
Walletto link is on.
-
chainId
final ExternalConnectParams.Body.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nonce
final ExternalConnectParams.Body.Builder nonce(String nonce)
Nonce contained within the connection message.
-
nonce
final ExternalConnectParams.Body.Builder nonce(JsonField<String> nonce)
Sets Builder.nonce to an arbitrary JSON value.
You should usually call Builder.nonce with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
signature
final ExternalConnectParams.Body.Builder signature(String signature)
Signature payload from signing the connection message with the
Wallet.
-
signature
final ExternalConnectParams.Body.Builder signature(JsonField<String> signature)
Sets Builder.signature to an arbitrary JSON value.
You should usually call Builder.signature with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
walletAddress
final ExternalConnectParams.Body.Builder walletAddress(String walletAddress)
Address of the
Wallet.
-
walletAddress
final ExternalConnectParams.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.
-
additionalProperties
final ExternalConnectParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ExternalConnectParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ExternalConnectParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ExternalConnectParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ExternalConnectParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ExternalConnectParams.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() .nonce() .signature() .walletAddress()
-
-
-
-