Portal Android SDK
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Portal Android SDK
Portal
Android
SDK
[root]
Send
Asset
Params
Send
Asset
Response
Send
Asset
Response
Data
io.
portalhq.
android
Portal
Companion
Portal
Curve
Companion
ED25519
SECP256K1
io.
portalhq.
android.
annotations
Upgrade
From
V3
io.
portalhq.
android.
api
Api
Companion
io.
portalhq.
android.
api.
data
Backup
Share
Pair
Metadata
Balance
Blockaid
Asset
Diff
Blockaid
Simulation
Blockaid
Validate
Trx
Res
Blockaid
Validation
Feature
Client
Client
Cipher
Text
Response
Client
Prepare
Eject
Response
Client
Response
Client
Response
Backup
Share
Pair
Client
Response
Custodian
Client
Response
Environment
Client
Response
Metadata
Client
Response
Metadata
Namespaces
Client
Response
Namespace
Metadata
Item
Client
Response
Share
Pair
Client
Response
Wallet
Contract
Contract
Metadata
Custodian
Dapp
Dapp
Image
Evaluate
Transaction
Operation
Type
VALIDATION
SIMULATION
ALL
Evaluate
Transaction
Param
Fund
Params
Fund
Response
Fund
Response
Data
Fund
Response
Metadata
Get
Transactions
Order
ASC
DESC
Media
Metadata
Metrics
Response
Network
NFT
Open
Sea
Metadata
Portal
Mpc
Share
Status
STORED_
CLIENT
STORED_
CLIENT_
BACKUP_
SHARE
STORED_
CLIENT_
BACKUP_
SHARE_
KEY
Portal
Mpc
Share
Type
Companion
BACKUP
SIGNING
Portal
Share
Pair
Status
COMPLETED
INCOMPLETE
Share
Status
COMPLETED
INCOMPLETE
Share
Status
Update
Request
Signing
Share
Pair
Metadata
Simulated
Transaction
Simulated
Transaction
Change
Simulated
Transaction
Error
Simulate
Transaction
Param
Token
Id
Token
Metadata
Token
Uri
Transaction
Metadata
Raw
Contract
io.
portalhq.
android.
api.
data.
buildtransaction
Build
Eip115Transaction
Response
Build
Solana
Transaction
Response
Build
Transaction
Meta
Data
Build
Transaction
Param
Eip115Transaction
io.
portalhq.
android.
api.
data.
ntfassetsbychain
Attribute
Collection
Detailed
Info
Extended
Collection
Info
Extended
Sale
Info
Floor
Price
Get
Assets
By
Chain
Response
Get
Nft
Assets
By
Chain
Response
Last
Sale
Marketplace
Floor
Price
Marketplace
Info
Media
Info
Native
Balance
Nft
Assets
Owner
Payment
Token
Previews
Rarity
Token
Balance
io.
portalhq.
android.
components.
webview
Portal
Web
View
Companion
Portal
Web
View
Fragment
Companion
io.
portalhq.
android.
components.
webview.
data
Chain
Changed
Param
Eth
Request
Payload
Injected
Provider
Message
Companion
Injected
Script
Companion
Portal
Config
Portal
Web
View
Event
Companion
Portal
Web
View
Message
Request
Completion
Result
Transaction
Completion
Result
io.
portalhq.
android.
connect
Connection
State
Connected
Connecting
Disconnected
Disconnecting
Portal
Connect
Web
Socket
Client
io.
portalhq.
android.
connect.
data
Connect
Data
Connect
Result
Dapp
Session
Response
Message
Disconnect
Data
Eip155
Metadata
Namespaces
Params
Peer
Metadata
Proposer
Protocol
Options
Provider
Request
Data
Provider
Request
Payload
Relay
Session
Message
Data
Session
Proposal
Session
Request
Session
Request
Data
Session
Response
Data
Session
Response
V1Data
Signature
Received
Data
Signature
Received
Payload
Websocket
Message
Web
Socket
Message
Data
io.
portalhq.
android.
data
Create
Wallets
Response
io.
portalhq.
android.
exceptions
GDrive
Auth
Error
Passkey
Not
Supported
Exception
Passkey
Storage
Not
Configured
Exception
Portal
Exception
Portal
Http
Unauthorized
Exception
Send
Asset
Argument
Error
io.
portalhq.
android.
initializers
Portal
Initializer
io.
portalhq.
android.
mpc
Mpc
Companion
Portal
Mobile
Mpc
Portal
Mobile
Mpc
Enclave
io.
portalhq.
android.
mpc.
data
Backup
Configs
Backup
Methods
Gdrive
Password
Unknown
Passkey
Backup
Wallet
Response
Bk
Bks
Client
Result
Decrypt
Data
Decrypt
Result
Eject
Result
Encrypted
Data
Encrypted
Result
Encrypted
With
Password
Data
Encrypted
With
Password
Result
Feature
Flags
Format
Shares
Response
Format
Shares
Response
Error
Formatted
Shares
Generate
Data
Generate
Result
Mpc
Metadata
Mpc
Share
Mpc
Status
Mpc
Statuses
Decrypting
Share
Done
Encrypting
Share
Generating
Share
Parsing
Share
Reading
Share
Recovering
Backup
Share
Recovering
Signing
Share
Storing
Share
Partial
Public
Key
Password
Storage
Config
Pederson
Pedersons
Portal
Mpc
Backup
Methods
Portal
Mpc
Generated
Share
Portal
Mpc
Generate
Response
Portal
Mpc
Generate
Response
Type
Portal
Mpc
Generate
Result
Public
Key
Rotate
Data
Rotate
Result
Share
Data
Sign
With
Enclave
Api
Request
io.
portalhq.
android.
mpc.
errors
Recover
Error
Failed
To
Encrypt
Client
Backup
Share
Failed
To
Recover
Backup
Failed
To
Store
Client
Backup
Share
Key
io.
portalhq.
android.
provider
Portal
Provider
Error
Invalid
Request
Params
No
Address
No
Rpc
Url
Found
For
Chain
Id
No
Signature
Found
In
Sign
Result
Unsupported
Request
Method
Portal
Rpc
Error
Provider
Provider
Signing
Error
No
Binding
For
Signing
Approval
Found
User
Declined
Approval
io.
portalhq.
android.
provider.
data
Empty
Signature
Eth
Address
Param
Eth
Address
Payload
Eth
Request
Methods
Companion
Accounts
Block
Number
Call
Chain
Id
Coinbase
Compile
Solidity
Compile
LLL
Compile
Serpent
Estimate
Gas
Gas
Price
Get
Balance
Get
Block
By
Hash
Get
Block
By
Number
Get
Block
Transaction
Count
By
Hash
Get
Block
Transaction
Count
By
Number
Get
Code
Get
Compilers
Get
Filter
Change
Get
Filter
Logs
Get
Logs
Get
Storage
At
Get
Transaction
By
Hash
Get
Transaction
By
Block
Hash
And
Index
Get
Transaction
By
Block
Number
And
Index
Get
Transaction
Count
Get
Transaction
Receipt
Get
Uncle
By
Block
Hash
Index
Get
Uncle
By
Block
Number
And
Index
Get
Uncle
Count
By
Block
Hash
Get
Uncle
Count
By
Block
Number
Get
Work
Hashrate
Mining
New
Block
Filter
New
Filter
New
Pending
Transaction
Filter
Personal
Sign
Protocol
Version
Request
Accounts
Send
Raw
Transaction
Send
Transaction
Sign
Sign
Transaction
Sign
Typed
Data
V3
Sign
Typed
Data
V4
Submit
Hashrate
Submit
Work
Synching
Uninstall
Filter
Wallet
Add
Ethereum
Chain
Wallet
Get
Permissions
Wallet
Register
Onboarding
Wallet
Request
Permissions
Wallet
Switch
Ethereum
Chain
Wallet
Watch
Asset
Net
Listening
Net
Peer
Count
Net
Version
Web3Client
Version
Web3Sha3
Eth
Signing
Request
Eth
Transaction
Param
Eth
Transaction
Payload
Event
Handler
Gateway
Response
Portal
Provider
Request
With
Id
Portal
Provider
Result
Portal
Provider
Rpc
Response
Portal
Provider
Rpc
Response
Error
Portal
Request
Method
eth_
accounts
eth_
block
Number
eth_
call
eth_
chainId
eth_
coinbase
eth_
compile
Solidity
eth_
compileLLL
eth_
compile
Serpent
eth_
estimate
Gas
eth_
gasPrice
eth_
getBalance
eth_
get
Block
By
Hash
eth_
get
Block
By
Number
eth_
get
Block
Transaction
Count
By
Hash
eth_
get
Block
Transaction
Count
By
Number
eth_
getCode
eth_
get
Compilers
eth_
get
Filter
Change
eth_
get
Filter
Logs
eth_
getLogs
eth_
get
Storage
At
eth_
get
Transaction
By
Hash
eth_
get
Transaction
By
Block
Hash
And
Index
eth_
get
Transaction
By
Block
Number
And
Index
eth_
get
Transaction
Count
eth_
get
Transaction
Receipt
eth_
get
Uncle
By
Block
Hash
And
Index
eth_
get
Uncle
By
Block
Number
And
Index
eth_
get
Uncle
Count
By
Block
Hash
eth_
get
Uncle
Count
By
Block
Number
eth_
getWork
eth_
hashrate
eth_
mining
eth_
new
Block
Filter
eth_
newFilter
eth_
new
Pending
Transaction
Filter
personal_
sign
eth_
protocol
Version
eth_
request
Accounts
eth_
send
Raw
Transaction
eth_
send
Transaction
eth_
sign
eth_
sign
Transaction
eth_
sign
Typed
Data_
v3
eth_
sign
Typed
Data_
v4
eth_
submit
Hashrate
eth_
submitWork
eth_
syncing
eth_
uninstall
Filter
wallet_
add
Ethereum
Chain
wallet_
get
Permissions
wallet_
register
Onboarding
wallet_
request
Permissions
wallet_
revoke
Permissions
wallet_
switch
Ethereum
Chain
wallet_
watchAsset
net_
listening
net_
peerCount
net_
version
web3_
client
Version
web3_
sha3
sol_
get
Account
Info
sol_
getBalance
sol_
getBlock
sol_
get
Block
Commitment
sol_
get
Block
Height
sol_
get
Block
Production
sol_
get
Block
Time
sol_
getBlocks
sol_
get
Blocks
With
Limit
sol_
get
Cluster
Nodes
sol_
get
Epoch
Info
sol_
get
Epoch
Schedule
sol_
get
Fee
For
Message
sol_
get
First
Available
Block
sol_
get
Genesis
Hash
sol_
getHealth
sol_
get
Highest
Snapshot
Slot
sol_
get
Identity
sol_
get
Inflation
Governor
sol_
get
Inflation
Rate
sol_
get
Inflation
Reward
sol_
get
Largest
Accounts
sol_
get
Latest
Blockhash
sol_
get
Leader
Schedule
sol_
get
Max
Retransmit
Slot
sol_
get
Max
Shred
Insert
Slot
sol_
get
Minimum
Balance
For
Rent
Exemption
sol_
get
Multiple
Accounts
sol_
get
Program
Accounts
sol_
get
Recent
Performance
Samples
sol_
get
Recent
Prioritization
Fees
sol_
get
Signature
Statuses
sol_
get
Signatures
For
Address
sol_
getSlot
sol_
get
Slot
Leader
sol_
get
Slot
Leaders
sol_
get
Stake
Activation
sol_
get
Stake
Minimum
Delegation
sol_
getSupply
sol_
get
Token
Account
Balance
sol_
get
Token
Accounts
By
Delegate
sol_
get
Token
Accounts
By
Owner
sol_
get
Token
Largest
Accounts
sol_
get
Token
Supply
sol_
get
Transaction
sol_
get
Transaction
Count
sol_
getVersion
sol_
get
Vote
Accounts
sol_
is
Blockhash
Valid
sol_
minimum
Ledger
Slot
sol_
request
Airdrop
sol_
send
Transaction
sol_
simulate
Transaction
sol_
sign
And
Confirm
Transaction
sol_
sign
And
Send
Transaction
sol_
sign
Message
sol_
sign
Transaction
Portal
Sign
Request
Signature
Received
Event
Signature
Result
Sol
Get
Latest
Blockhash
Context
Sol
Get
Latest
Blockhash
Result
Sol
Get
Latest
Blockhash
Value
io.
portalhq.
android.
provider.
signers
Mpc
Signer
io.
portalhq.
android.
provider.
signers.
data
Sign
Data
Signing
Request
Arguments
Sign
Result
io.
portalhq.
android.
storage
Backup
Options
Cloud
Storage
Adapter
Mobile
Storage
Adapter
io.
portalhq.
android.
storage.
cloud.
google
Experimental
Api
GDrive
Auth
GDrive
Client
Companion
Google
Storage
Companion
New
GDrive
Auth
Companion
Old
GDrive
Auth
Companion
User
Recoverable
GDrive
Exception
io.
portalhq.
android.
storage.
cloud.
google.
data
Custodian
Client
Hashes
Custodian
Client
Hashes
Response
Custodian
Client
Hashes
Response
Error
GDrive
Backup
Option
App
Data
Folder
App
Data
Folder
With
Fallback
Companion
Custom
Folder
GDrive
Configuration
GDrive
Delete
Response
GDrive
File
GDrive
Files
List
Response
Storage
Auth
Error
io.
portalhq.
android.
storage.
cloud.
passkey
Passkey
Auth
Companion
Passkey
Storage
io.
portalhq.
android.
storage.
cloud.
passkey.
data
Authentication
Options
Credential
Public
Key
Authenticator
Selection
Credential
Parameter
Finish
Login
Read
Response
Passkey
Status
Not
Registered
Registered
Registered
With
Credential
Public
Key
Options
Registration
Options
Relying
Party
Status
Response
User
Web
Authn
Authentication
Option
Web
Authn
Registration
Options
io.
portalhq.
android.
storage.
cloud.
password
Password
Storage
io.
portalhq.
android.
storage.
mobile
Keychain
Companion
Key
Store
Wrapper
Portal
Keychain
Client
Metadata
Portal
Keychain
Client
Metadata
Wallet
Portal
Keychain
Client
Metadata
Wallet
Backup
Share
Portal
Keychain
Client
Metadata
Wallet
Share
Portal
Keychain
Client
Shares
Portal
Keychain
Client
Shares
Type
Portal
Keychain
Metadata
Portal
Namespace
Companion
EIP155
SOLANA
io.
portalhq.
android.
swaps
Portal
Swaps
io.
portalhq.
android.
swaps.
data
Quote
Quote
Args
io.
portalhq.
android.
utils
Portal
Encryption
Portal
Requests
Companion
io.
portalhq.
android.
utils.
blockchain
Portal
Blockchain
Companion
Portal
Blockchain
Error
Invalid
Chain
Id
No
Supported
Curve
For
Chain
Id
No
Supported
Namespace
For
Chain
Id
io.
portalhq.
android.
utils.
chains
Chain
Utils
Companion
io.
portalhq.
android.
utils.
currency
Currency
Converter
io.
portalhq.
android.
utils.
errors
Http
Error
Invalid
Api
Key
Error
Invalid
Chain
Id
Error
Invalid
Gateway
Config
Error
Invalid
Wallet
State
Error
is
Valid
Error()
Mpc
Error
Mpc
Signing
Error
Portal
Error
Portal
Error
Codes
INVALID_
RANK_
AND_
THRESHOLD
FAILED_
TO_
START_
DKG
FAILED_
TO_
FINISH_
DKG
FAILED_
TO_
CONVERT_
DKG_
RESULT
FAILED_
TO_
START_
RESHARE
FAILED_
TO_
FINISH_
RESHARE
FAILED_
TO_
CONVERT_
RESHARE_
RESULT
FAILED_
TO_
START_
SIGN
FAILED_
TO_
FINISH_
SIGN
FAILED_
TO_
CONVERT_
SIGN_
RESULT
DKG_
PROCESS_
ERROR
FAILED_
TO_
PARSE_
SOCKET_
MESSAGE
FAILED_
TO_
ADD_
MESSAGE_
TO_
CHANNEL
REFRESH_
SHARE_
MISMATCH
REFRESH_
PROCESS_
ERROR
FAILED_
TO_
GET_
PAILLIER_
KEY
SIGNING_
SHARE_
MISMATCH
SIGNING_
PROCESS_
ERROR
FAILED_
TO_
SEND_
SIGN_
REQUEST
BAD_
REQUEST
INVALID_
API_
KEY
NOT_
FOUND
FAILED_
TO_
RECEIVE_
101_
STATUS_
CODE
FAILED_
TO_
CREATE_
WEBSOCKET
DKG_
NETWORK_
ERROR
FAILED_
TO_
READ_
PARTIAL_
PUBLIC_
KEY_
FROM_
SOCKET
FAILED_
TO_
WRITE_
PARTIAL_
PUBLIC_
KEY_
TO_
SOCKET
FAILED_
TO_
READ_
FROM_
SOCKET_
IN_
LISTEN
REFRESH_
NETWORK_
ERROR
SIGNING_
NETWORK_
ERROR
BLOCKED_
ADDRESS_
BY_
DEFAULT
BLOCKED_
ADDRESS_
BY_
ENVIRONMENT
FAILED_
TO_
COMPUTE_
ETH_
ADDRESS
FAILED_
TO_
CREATE_
SHARE_
OBJECT
INCORRECT_
INPUT_
TO_
SIGN
FAILED_
TO_
CONVERT_
PUBLIC_
KEY_
BYTES
FAILED_
TO_
COMPUTE_
SIGNATURE
FAILED_
TO_
PARSE_
INPUT_
SHARE_
OBJECT
INCORRECT_
SHARE_
OBJECT_
TYPE
FAILED_
TO_
CONVERT_
STRING_
TO_
BIG_
INT
FAILED_
TO_
POPULATE_
TRANSACTION
FAILED_
TO_
BUILD_
MESSAGE
UNSUPPORTED_
ETH_
METHOD
NODE_
RPC_
ERROR
FAILED_
TO_
INITIALIZE_
PUBLIC_
KEY
FAILED_
TO_
CALCULATE_
SELF_
PUBLIC_
KEY
FAILED_
TO_
UNMARSHAL_
PARTIAL_
PUBLIC_
KEY_
FROM_
SOCKET
FAILED_
TO_
MARSHAL_
PARTIAL_
PUBLIC_
KEY
UNSUPPORTED_
MPC_
PROTOCOL
FAILED_
TO_
CREATE_
RANDOM_
DEK_
BYTES
FAILED_
TO_
CREATE_
CIPHER_
BLOCK
FAILED_
TO_
CREATE_
GCM_
CIPHER
FAILED_
TO_
READ_
NONCE_
INTO_
BUFFER
FAILED_
TO_
DECODE_
KEY_
HEX_
STRING
FAILED_
TO_
DECODE_
CIPHER_
HEX_
STRING
FAILED_
TO_
GET_
NONCE_
SIZE
FAILED_
TO_
DECRYPT_
CIPHER
Portal
Error
Code
Types
Mpc
Errors
Network
Errors
General
Errors
Encrypt
Decrypt
Errors
Rpc
Error
io.
portalhq.
android.
utils.
eth
Requests
Eth
Request
Utils
io.
portalhq.
android.
utils.
events
Connect
Events
Connect
Connected
Connect
Error
Disconnect
Dapp
Session
Approved
Dapp
Session
Rejected
Dapp
Session
Requested
Portal
Connect
Signing
Requested
Portal
Signature
Received
Portal
Signature
Rejected
Portal
Signing
Approved
Portal
Signing
Rejected
Portal
Signing
Requested
Signature
Received
Signature
Rejected
Portal
Connect
Chain
Changed
Chain
Changed
Event
Bus
Metrics
Events
Portal
Initialized
Transaction
Signed
Wallet
Backed
Up
Wallet
Created
Wallet
Recovered
Get
Backup
Share
Metadata
Get
Balances
Get
Client
Get
Client
Cipher
Text
Get
Enabled
Dapps
Get
NFTs
Get
Networks
Get
Quote
Get
Signing
Share
Metadata
Get
Sources
Get
Transactions
Prepare
Eject
Set
Share
Pair
Status
Simulate
Transaction
Store
Client
Cipher
Text
Stored
Client
Backup
Share
Stored
Client
Backup
Share
Key
Stored
Client
Signing
Share
Portal
Events
Chain
Changed
Portal
Signature
Received
Portal
Signing
Approved
Portal
Signing
Rejected
Portal
Signing
Requested
io.
portalhq.
android.
utils.
extensions
exception()
filter
Not
Null
Values()
is
Decimal()
is
Hexadecimal()
lamports
To
Sol()
io.
portalhq.
android.
utils.
http
Http
Request
io.
portalhq.
android.
utils.
http.
data
Chain
Changed
Data
Chain
Changed
Message
Connect
Request
Connect
Request
Data
Connect
Result
Disconnect
Result
Http
Method
Type
GET
POST
PUT
PATCH
DELETE
Peer
Metadata
Protocol
Options
Provider
Request
Data
Provider
Request
Payload
Registered
Event
Handler
Registered
Event
Handler
Session
Session
Request
Web
Socket
Error
Web
Socket
Message
io.
portalhq.
android.
utils.
requesters
from
Json()
Http
Requester
Portal Android SDK
/
io.portalhq.android.provider.data
/
PortalRequestMethod
/
sol_getIdentity
sol_
get
Identity
sol_getIdentity
Members
Properties
name
Link copied to clipboard
val
name
:
String
ordinal
Link copied to clipboard
val
ordinal
:
Int
value
Link copied to clipboard
val
value
:
String