Package-level declarations

Types

Link copied to clipboard
data class Currency(val code: String? = null, val codeTemplate: String? = null, val issuer: String? = null, val contract: String? = null, val status: String? = null, val displayDecimals: Int? = null, val name: String? = null, val desc: String? = null, val conditions: String? = null, val image: String? = null, val fixedNumber: Long? = null, val maxNumber: Long? = null, val isUnlimited: Boolean? = null, val isAssetAnchored: Boolean? = null, val anchorAssetType: String? = null, val anchorAsset: String? = null, val attestationOfReserve: String? = null, val redemptionInstructions: String? = null, val collateralAddresses: List<String>? = null, val collateralAddressMessages: List<String>? = null, val collateralAddressSignatures: List<String>? = null, val regulated: Boolean? = null, val approvalServer: String? = null, val approvalCriteria: String? = null, val toml: String? = null)

Currency documentation from the stellar.toml CURRENCIES list.

Link copied to clipboard
data class Documentation(val orgName: String? = null, val orgDba: String? = null, val orgUrl: String? = null, val orgLogo: String? = null, val orgDescription: String? = null, val orgPhysicalAddress: String? = null, val orgPhysicalAddressAttestation: String? = null, val orgPhoneNumber: String? = null, val orgPhoneNumberAttestation: String? = null, val orgKeybase: String? = null, val orgTwitter: String? = null, val orgGithub: String? = null, val orgOfficialEmail: String? = null, val orgSupportEmail: String? = null, val orgLicensingAuthority: String? = null, val orgLicenseType: String? = null, val orgLicenseNumber: String? = null)

Organization documentation from the stellar.toml DOCUMENTATION section.

Link copied to clipboard
data class GeneralInformation(val version: String? = null, val networkPassphrase: String? = null, val federationServer: String? = null, val authServer: String? = null, val transferServer: String? = null, val transferServerSep24: String? = null, val kycServer: String? = null, val webAuthEndpoint: String? = null, val signingKey: String? = null, val horizonUrl: String? = null, val accounts: List<String> = emptyList(), val uriRequestSigningKey: String? = null, val directPaymentServer: String? = null, val anchorQuoteServer: String? = null, val webAuthForContractsEndpoint: String? = null, val webAuthContractId: String? = null)

General information from the stellar.toml file as defined in SEP-0001.

Link copied to clipboard
data class PointOfContact(val name: String? = null, val email: String? = null, val keybase: String? = null, val telegram: String? = null, val twitter: String? = null, val github: String? = null, val idPhotoHash: String? = null, val verificationPhotoHash: String? = null)

Point of contact documentation from the stellar.toml PRINCIPALS list.

Link copied to clipboard
class StellarToml(val generalInformation: GeneralInformation, val documentation: Documentation? = null, val pointsOfContact: List<PointOfContact>? = null, val currencies: List<Currency>? = null, val validators: List<Validator>? = null)

Parses and provides access to stellar.toml files as defined in SEP-0001.

Link copied to clipboard
data class Validator(val alias: String? = null, val displayName: String? = null, val publicKey: String? = null, val host: String? = null, val history: String? = null)

Validator information from the stellar.toml VALIDATORS list.