- useSearch<T>(): SearchResult<T>
Type Parameters
- T extends
| "wallet_switchEthereumChain"
| "personal_sign"
| "eth_signTypedData_v4"
| "wallet_sendCalls"
| "wallet_showCallsStatus"
| "eth_requestAccounts"
| "eth_sendTransaction"
| "wallet_grantPermissions"
| "eth_accounts"
| "eth_blobBaseFee"
| "eth_blockNumber"
| "eth_call"
| "eth_chainId"
| "eth_coinbase"
| "eth_estimateGas"
| "eth_feeHistory"
| "eth_gasPrice"
| "eth_getBalance"
| "eth_getBlockByHash"
| "eth_getBlockByNumber"
| "eth_getBlockTransactionCountByHash"
| "eth_getBlockTransactionCountByNumber"
| "eth_getCode"
| "eth_getFilterChanges"
| "eth_getFilterLogs"
| "eth_getLogs"
| "eth_getProof"
| "eth_getStorageAt"
| "eth_getTransactionByBlockHashAndIndex"
| "eth_getTransactionByBlockNumberAndIndex"
| "eth_getTransactionByHash"
| "eth_getTransactionCount"
| "eth_getTransactionReceipt"
| "eth_getUncleCountByBlockHash"
| "eth_getUncleCountByBlockNumber"
| "eth_maxPriorityFeePerGas"
| "eth_newBlockFilter"
| "eth_newFilter"
| "eth_newPendingTransactionFilter"
| "eth_protocolVersion"
| "eth_sendRawTransaction"
| "eth_simulateV1"
| "eth_signTransaction"
| "eth_uninstallFilter"
| "wallet_addEthereumChain"
| "wallet_getCallsStatus"
| "wallet_getCapabilities"
| "wallet_getPermissions"
| "wallet_requestPermissions"
| "wallet_revokePermissions"
| "wallet_watchAsset"
| "handshake"
| "wallet_disconnect"
| "wallet_connect"
Returns SearchResult<T>