Example
Accessors
chain
Get Signature
get chain():Get the current chain configurationundefined|Chain
Returns
undefined | Chain
attestationService
Get Signature
get attestationService(): AttestationServiceClient
Access the Attestation Service client for creating and verifying attestations.
The Attestation Service manages the creation and verification of attestations
that prove Digital Asset ownership and rights.
Example
Returns
AttestationServiceClient
The Attestation Service client instance
schemaRegistry
Get Signature
get schemaRegistry(): SchemaRegistryClient
Get the SchemaRegistry client instance
Returns
SchemaRegistryClient
culturaDigitalAsset
Get Signature
get culturaDigitalAsset(): CulturaDigitalAssetClient
Get the CulturaDigitalAsset client instance
Returns
CulturaDigitalAssetClient
digitalAsset
Get Signature
get digitalAsset(): CulturaDigitalAssetClient
Get the culturaDigitalAsset client instance (alias for culturaDigitalAsset for backward compatibility)
Deprecated
Use culturaDigitalAsset insteadReturns
CulturaDigitalAssetClient
rightsBoundAccount
Get Signature
get rightsBoundAccount(): RightsBoundAccountClient
Get the Rights Bound Account client instance
This needs to be set manually using setRightsBoundAccount before use
Returns
RightsBoundAccountClient
royalty
Get Signature
get royalty(): RoyaltyClient
Get the Royalty client instance
Returns
RoyaltyClient
signatureUtils
Get Signature
get signatureUtils(): SignatureUtilsClient
Get the Signature Utils client instance
Returns
SignatureUtilsClient
verifierModule
Get Signature
get verifierModule(): VerifierModuleClient
Get the Verifier Module client instance
Returns
VerifierModuleClient
query
Get Signature
get query(): QueryClient
Get the Query client instance for querying indexed blockchain data
Returns
QueryClient
bondToken
Get Signature
get bondToken(): BondTokenClient
Get the Bond Token client instance
Returns
BondTokenClient
mockLicensingProtocol
Get Signature
get mockLicensingProtocol(): MockLicensingProtocolClient
Get the Mock Licensing Protocol client instance
Returns
MockLicensingProtocolClient
pop
Get Signature
get pop(): POPModuleClient
Get the POP Module client instance
Returns
POPModuleClient
Methods
setRightsBoundAccount()
setRightsBoundAccount(Set the rights bound account address for the rightsBoundAccount client This is needed when working with licensedAssets created via mockLicenseRightrightsBoundAccountAddress):void
Parameters
rightsBoundAccountAddress
`0x${string}`
The address of the Rights Bound Account
Returns
void
create()
Create a new SDK instancestaticcreate(config):CulturaSDK
Parameters
config
CulturaConfig = {}
SDK configuration
Returns
CulturaSDK
createWithWallet()
Create a new SDK instance with a walletstaticcreateWithWallet(ethereum,config):CulturaSDK
Parameters
ethereum
any
Ethereum provider (e.g., window.ethereum)
config
Omit<CulturaConfig, "wallet"> = {}
Additional SDK configuration
Returns
CulturaSDK
createWithAccount()
Create a new SDK instance with a specific accountstaticcreateWithAccount(account,config):CulturaSDK
Parameters
account
Ethereum account address or Viem Account object created with privateKeyToAccount()undefined | `0x${string}` | Account
config
Omit<CulturaConfig, "account"> = {}
Additional SDK configuration
Returns
CulturaSDK
Example
createWithSmartWalletClient()
Create a new SDK instance with a Privy Smart Wallet ClientstaticcreateWithSmartWalletClient(privyClient,config):CulturaSDK
Parameters
privyClient
any
The Privy SmartWalletClientType instance
config
Omit<CulturaConfig, "account" | "wallet"> = {}
Additional SDK configuration
Returns
CulturaSDK
getWalletBalance()
getWalletBalance():Get the balance of the connected walletPromise<bigint>
Returns
Promise<bigint>
getBalance()
getBalance(Get the balance of any addressaddress):Promise<bigint>
Parameters
address
string
Ethereum address
Returns
Promise<bigint>
Properties
config
readonlyconfig:CulturaConfig
publicClient
readonlypublicClient:object
walletClient?
readonlyoptionalwalletClient:object

