Lossless
Search…
Api Documentation
In order to get started on using the API, you would need to generate an API key using Lossless Aegis. https://aegis.lossless.io/ (API Keys) section.
After generating an API key you can query our GraphQL API. Using the https://aegis-api.lossless.io/graphql endpoint.
In each API request, this authorisation header should be present
{
"x-api-key": "YOUR KEY GOES HERE",
}

Queries

apiKeys

authenticate

Type: AuthResponse!

Arguments

Name
email (String!)
password (String!)

getNotificationSettings

getProtectedAddressNotificationSettings

Arguments

Name
protectedAddressId (String!)

protectedAddress

Arguments

Name
address (String!)
chain (String!)

protectedAddressRiskyTransactions

Arguments

Name
skip (Float!)
take (Float!)
orderBy (String)
protectedAddressId (String!)

protectedAddressRiskyTransactionsCount

Type: Int!

Arguments

Name
protectedAddressId (String!)

protectedAddressSuspiciousAddresses

Arguments

Name
skip (Float!)
take (Float!)
orderBy (String)
protectedAddressId (String!)

protectedAddressSuspiciousAddressesCount

Type: Int!

Arguments

Name
protectedAddressId (String!)

protectedAddresses

Arguments

Name
skip (Float!)
take (Float!)
orderBy (String)

protectedAddressesCount

Type: Int!

refreshToken

requestAccess

Arguments

Name
email (String!)
company (String!)
fieldOfInterest (String!)

riskyTransactions

Arguments

Name
skip (Float!)
take (Float!)
orderBy (String)

riskyTransactionsCount

Type: Int!

suspiciousAddresses

Arguments

Name
skip (Float!)
take (Float!)
orderBy (String)

suspiciousAddressesCount

Type: Int!

Objects

AccessSuccessResponse

Fields

Name
success (Boolean!)

AuthResponse

Fields

Name
id (String!)
email (String!)
verified (Boolean!)
createdAt (DateTime!)
updatedAt (DateTime!)
protectedAddresses ([ProtectedAddressEntity!])
suspiciousAddresses ([SuspiciousAddressEntity!])
notificationSettings ([NotificationSettingsEntity!])
token (String!)

NotificationSettingsEntity

Fields

Name
id (String!)
userId (String!)
type (String!)
name (String!)
updatedAt (DateTime!)
createdAt (DateTime!)

NotificationSettingsMetadata

Fields

Name
webhookUrl (String)
telegramChatId (String)
telegramBotToken (String)
emailList ([String!])
phoneList ([String!])

ProtectedAddressAbiEntity

Fields

Name
id (String!)
abi (String!)
protectedAddressId (String!)

ProtectedAddressEntity

Fields

Name
id (String!)
name (String!)
address (String!)
chain (String!)
createdAt (DateTime!)
userId (String!)
protectedAddressTypes ([ProtectedAddressTypeEntity!]!)
protectedAddressAbi (ProtectedAddressAbiEntity)

ProtectedAddressNotificationSettingsEntity

Fields

Name
id (String!)
userId (String!)
notificationSettingsId (String!)
protectedAddressId (String!)
riskScoreThreshold (Float!)
riskTypesToNotify ([AddressRiskType!]!)
isPaused (Boolean!)
notificationSettings (NotificationSettingsEntity!)
protectedAddress (ProtectedAddressEntity!)
updatedAt (DateTime!)
createdAt (DateTime!)

ProtectedAddressTypeEntity

Fields

Name
id (String!)
protectedAddressId (String!)
addressType (String!)

RefreshResponse

Fields

Name
token (String!)

RiskyTransactionEntity

Fields

Name
id (String!)
createdAt (String!)
protectedAddress (String!)
protectedAddressName (String!)
riskType (AddressRiskType!)
txHash (String!)
blockNumber (Int!)
chain (Chain!)
suspiciousAddress (String!)

SuspiciousAddressEntity

Fields

Name
address (String!)
riskScore (Int!)
createdAt (String!)
protectedAddress (String!)
protectedAddressName (String!)

UserApiKeyEntity

Fields

Name
id (String!)
apiKeyName (String!)
apiKey (String!)
userId (String!)
createdAt (DateTime!)

UserEntity

Fields

Name
id (String!)
email (String!)
verified (Boolean!)
createdAt (DateTime!)
updatedAt (DateTime!)
protectedAddresses ([ProtectedAddressEntity!])
suspiciousAddresses ([SuspiciousAddressEntity!])
notificationSettings ([NotificationSettingsEntity!])

Enums

AddressRiskType

Values

TORNADO_TX
DEPLOYER
CONTRACT
INTERACTION
FLASHLOAN

Chain

Values

ETH

Scalars

Boolean

The Boolean scalar type represents true or false.

DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Float

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

String

The Stringscalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Copy link
On this page
Queries
apiKeys
authenticate
getNotificationSettings
getProtectedAddressNotificationSettings
protectedAddress
protectedAddressRiskyTransactions
protectedAddressRiskyTransactionsCount
protectedAddressSuspiciousAddresses
protectedAddressSuspiciousAddressesCount
protectedAddresses
protectedAddressesCount
refreshToken
requestAccess
riskyTransactions
riskyTransactionsCount
suspiciousAddresses
suspiciousAddressesCount
Objects
AccessSuccessResponse
AuthResponse
NotificationSettingsEntity
NotificationSettingsMetadata
ProtectedAddressAbiEntity
ProtectedAddressEntity
ProtectedAddressNotificationSettingsEntity
ProtectedAddressTypeEntity
RefreshResponse
RiskyTransactionEntity
SuspiciousAddressEntity
UserApiKeyEntity
UserEntity
Enums
AddressRiskType
Chain
Scalars
Boolean
DateTime
Float
ID
Int
String