Venly Widget
Home
Pricing
Your Wallet
Search…
Venly Widget
👋
Introduction
📦
Web3 Provider
Getting Started
Power of the Widget
Switching Networks
📦
Widget
Getting started
Initializing the widget
Retrieve user profile
Retrieve user wallets
Retrieve wallet balance
Retrieve a user account
Retrieve token balance
Retrieve non-fungible tokens
Transfer a native token
Transfer a fungible token
Transfer a non-fungible token
Execute transaction
Sign a message
Sign an EIP712 message
Call a contract
⚙️ Widget Advanced
Initializing options
Function Reference
Object Reference
Account
AuthenticationOptions
AuthenticationResult
ConstructorOptions
ContractExecutionDto
ContractReadRequest
ContractReadResponse
Eip712SignRequestDto
GasTransferRequestDto
HederaTokenAssociationRequest
ImportWalletRequest
KeycloakInstance
MessageSignRequestDto
NFT
NFTContract
NftTransferRequestDto
PopupOptions
PopupResult
Profile
SecretType
Signer
SignerResult
RedirectOptions
TokenBalance
TokenTransferRequestDto
Trait
TransferRequestDto
TxStatusResult
VenlySubProviderOptions
Wallet
WalletBalance
WalletItems
WindowMode
🌊
Deep Dive
Authentication
Chain specific fields
Environments & networks
Powered By
GitBook
HederaTokenAssociationRequest
Data structure for performing a Hedera token association
Signature
1
{
2
walletId! : string;
3
secretType! : 'HEDERA',
4
type! : 'HEDERA_TOKEN_ASSOCIATION',
5
tokenIds!: string[]
6
}
Copied!
Parameters
Parameter
Required
Type
Description
walletId
True
String
ID of the wallet one wants to associate tokens with.
secretType
True
String
Chain the association will be executed on. Currently only
HEDERA
is supported
type
True
String
The type of transaction one wants to execute. In this case
HEDERA_TOKEN_ASSOCIATION
tokenIds
True
String[]
An array of strings containing the ID's of the tokens one wants to associate
Example
1
{
2
secretType: 'HEDERA',
3
type: 'HEDERA_TOKEN_ASSOCIATION',
4
walletId: 'd1e091d7-0fab-4f46-8afd-ad31f1e735d7',
5
tokenIds: ['0.0.2278508', '0.0.2278508', '0.0.2278508', '0.0.2278508']
6
}
Copied!
Function Types
executeTokenAssociation
Previous
GasTransferRequestDto
Next
ImportWalletRequest
Last modified
6mo ago
Copy link
Contents
Signature
Parameters
Example
Function Types