본문으로 건너뛰기

Method matrix

이 reference는 Pali의 현재 method registry 및 provider에서 document된 public dapp-facing method를 요약합니다.

Wallet method

MethodSurface목적Popup
wallet_isLockedEVM / UTXOlock state를 읽습니다.No
wallet_isConnectedEVM / UTXOsite connection state를 읽습니다.No
wallet_getAccountEVM / UTXOconnected account object를 읽습니다.No
wallet_getAddressEVM / UTXOconnected address를 읽습니다.No
wallet_getPublicKeyEVM / UTXOpublic key를 읽습니다.No
wallet_getBalanceEVM / UTXObalance를 읽습니다.No
wallet_getChangeAddressUTXOchange address를 읽습니다.No
wallet_getNetworkEVM / UTXOactive network를 읽습니다.No
wallet_getTokensEVM / UTXOtoken holding을 읽습니다.No
wallet_estimateFeeEVM / UTXOfee를 estimate합니다.No
wallet_getProviderStateEVMEVM provider state를 initialize합니다.No
wallet_getSysProviderStateUTXOUTXO provider state를 initialize합니다.No
wallet_getSysAssetMetadataUTXOSyscoin asset metadata를 읽습니다.No
wallet_changeAccountEVM / UTXOconnected account를 변경합니다.Yes
wallet_requestPermissionsEVMEIP-2255 permission을 요청합니다.Yes
wallet_getPermissionsEVMEIP-2255 permission을 읽습니다.No
wallet_revokePermissionsEVMpermission을 revoke하고 disconnect합니다.No
wallet_watchAssetEVMasset watch를 요청합니다.Yes
wallet_addEthereumChainEVMEVM chain을 추가합니다.Yes
wallet_switchEthereumChainEVMEVM chain을 전환합니다.Yes
wallet_prepareSmartAccountEVMPali smart account를 생성하고 deploy합니다.Yes
wallet_sendCallsEVMEIP-5792 batch request를 전송합니다.Yes
wallet_getCapabilitiesEVMaccount capability를 읽습니다.No
wallet_getCallsStatusEVM전송된 batch를 EIP-5792 status + receipts로 해석합니다.No
wallet_showCallsStatusEVM배치 상태를 지갑 팝업으로 표시합니다.Yes

EVM method

Method groupMethod
Accountseth_requestAccounts, eth_accounts
Transactionseth_sendTransaction, eth_sendRawTransaction, eth_call, eth_estimateGas
Signingeth_sign, personal_sign, eth_signTypedData, eth_signTypedData_v3, eth_signTypedData_v4
Networketh_chainId, net_version, eth_changeUTXOEVM
Chain dataeth_getBalance, eth_getCode, eth_getTransactionCount, eth_getTransactionReceipt, eth_getLogs, eth_getProof, eth_getStorageAt, block 및 transaction lookup method
Node dataeth_blockNumber, eth_feeHistory, eth_gasPrice, web3_clientVersion, web3_sha3, net_listening, net_peerCount

UTXO 및 Syscoin method

Method목적
sys_requestAccountsUTXO account를 연결합니다.
sys_getAccountaccount detail을 읽습니다.
sys_isConnectedconnection state를 읽습니다.
sys_getNetworkUTXO network를 읽습니다.
sys_getPublicKeypublic key를 읽습니다.
sys_getCurrentAddressPubkeycurrent address pubkey를 읽습니다.
sys_getBip32Pathderivation path를 읽습니다.
sys_getChangeAddresschange address를 읽습니다.
sys_getTransactionstransaction을 읽습니다.
sys_transactiontransaction 하나를 읽습니다.
sys_signPSBT에 서명합니다.
sys_signAndSend서명하고 broadcast합니다.
sys_isValidSYSAddressSyscoin address를 검증합니다.
sys_changeUTXOEVMchain family를 전환합니다.
sys_switchChainUTXO chain을 전환합니다.

_sys helper

Helper목적
window.pali._sys.getUserMintedTokens()user-minted Syscoin token을 읽습니다.
window.pali._sys.getHoldingsData()token holding을 읽습니다.
window.pali._sys.getConnectedAccountXpub()connected xpub을 읽습니다.
window.pali._sys.getChangeAddress()change address를 읽습니다.
window.pali._sys.getDataAsset(assetGuid)Syscoin data asset을 읽습니다.