Skip to main content

Masa

[# Masa SDK

  • v1.2.0-alpha.1](/docs/developers/sdk/) / Exports / Masa

Class: Masa

Table of contents

Constructors

Properties

Constructors

constructor

new Masa(«destructured»)

Parameters

NameType
«destructured»MasaArgs

Properties

account

Readonly account: MasaAccount


arweave

Readonly arweave: MasaArweave


client

Readonly client: MasaClient


config

Readonly config: MasaConfig


contracts

Readonly contracts: MasaContracts


creditScore

Readonly creditScore: MasaCreditScore


green

Readonly green: MasaGreen


identity

Readonly identity: MasaIdentity


metadata

metadata: Object

Type declaration

NameType
retrieve(url: string, additionalHeaders?: Record<string, string>) => Promise<undefined | IIdentity | ICreditScore | IGreen>
store(soulName: string, receiver: string, duration: number) => Promise<undefined | { authorityAddress: string ; imageResponse: { data: any ; status: number ; statusText: string } ; imageTransaction: default ; metadataResponse: { data: any ; status: number ; statusText: string } ; metadataTransaction: default ; signature: string }>

session

Readonly session: MasaSession


soulName

Readonly soulName: MasaSoulName


utils

utils: Object

Type declaration

NameType
version() => { contractsVersion: string ; sdkVersion: string }