Skip to main content
Reown Docs

Actions

2 min read

Open Modal#

Close Modal#

Chain Actions#

Set active chain#

Note: The chain must be added to the list of supported chains in the AppKit configuration.

Get active chain#

Account Actions#

Get active account#

Direct Wallet Connection#

Connect directly to a specific wallet on native platforms, bypassing the modal UI. To enable direct connections, the wallet must be configured with default wallet detection.

Direct Social Login Connection#

Connect directly to a social login provider (e.g. Google, Apple, X) without requiring the user to pick a provider in the modal UI.

Disconnect#

EVM Actions#

Get Balance#

Get the native token balance for an address.

Sign Message#

Sign a message with the active account's private key.

Sign Typed Data#

Sign typed data following EIP-712 standard.

Verify Message Signature#

Verify if a message was signed by a specific address.

Verify Typed Data Signature#

Verify if typed data was signed by a specific address.

Read Contract#

Read data from a smart contract (no gas required).

Note: Both JSON and human-readable ABI formats are supported. Human-readable ABI is more concise but JSON ABI may offer better performance.

Write Contract#

Write data to a smart contract (requires gas).

Note: Both JSON and human-readable ABI formats are supported.

Send Transaction#

Send a native token transaction.

Send Raw Transaction#

Send a pre-signed transaction.

Estimate Gas#

Estimate gas required for a transaction.

Get Gas Price#

Get the current gas price in wei.

Get Transaction Receipt#

Get the receipt for a transaction by its hash. This method polls the blockchain until the transaction is confirmed or times out.

RPC Request#

Make a direct RPC request to the blockchain node.

Solana Actions#

Get Balance#

Get the native token balance (in lamports) for a public key.

Sign Message#

Sign a message with the active Solana account's private key. Returns the signature as a base58 string.

Verify Message Signature#

Verify if a message was signed by a specific Solana public key.

Sign Transaction#

Sign a serialized transaction. Input should be the transaction encoded as base64. Returns the signature and the optional (re)serialized transaction.

Sign All Transactions#

Sign multiple serialized transactions at once. Inputs should be base64-encoded serialized transactions.

RPC Request#

Make a direct Solana JSON-RPC request.