Preparing search index...
The search index is not available
Relic SDK
Relic SDK
@relicprotocol/client
RelicAPI
Class RelicAPI
Hierarchy
RelicAPI
Index
Constructors
constructor
Properties
base
Block
instance
Methods
_fetch
account
Proof
addresses
attendance
Proof
birth
Certificate
Proof
block
Proof
log
Proof
set
Base
Block
storage
Slot
Proof
transaction
Proof
withdrawal
Proof
Constructors
constructor
new
RelicAPI
(
apiUrl
:
string
)
:
RelicAPI
Parameters
apiUrl:
string
Returns
RelicAPI
Properties
Private
base
Block
base
Block
:
undefined
|
number
Private
instance
instance
:
AxiosInstance
Methods
Private
_fetch
_fetch
<
R
>
(
req
:
AxiosRequestConfig
<
any
>
)
:
Promise
<
R
>
Type Parameters
R
Parameters
req:
AxiosRequestConfig
<
any
>
Returns
Promise
<
R
>
account
Proof
account
Proof
(
block
:
BlockTag
, address
:
string
)
:
Promise
<
AccountProof
>
Parameters
block:
BlockTag
address:
string
Returns
Promise
<
AccountProof
>
addresses
addresses
(
chainId
:
number
)
:
Promise
<
RelicAddresses
>
Parameters
chainId:
number
Returns
Promise
<
RelicAddresses
>
attendance
Proof
attendance
Proof
(
address
:
string
, eventId
:
BigNumberish
, code
:
string
)
:
Promise
<
AttendanceProof
>
Parameters
address:
string
eventId:
BigNumberish
code:
string
Returns
Promise
<
AttendanceProof
>
birth
Certificate
Proof
birth
Certificate
Proof
(
address
:
string
)
:
Promise
<
AccountProof
>
Parameters
address:
string
Returns
Promise
<
AccountProof
>
block
Proof
block
Proof
(
block
:
BlockTag
)
:
Promise
<
BlockProof
>
Parameters
block:
BlockTag
Returns
Promise
<
BlockProof
>
log
Proof
log
Proof
(
block
:
BlockTag
, txIdx
:
number
, logIdx
:
number
)
:
Promise
<
LogProof
>
Parameters
block:
BlockTag
txIdx:
number
logIdx:
number
Returns
Promise
<
LogProof
>
set
Base
Block
set
Base
Block
(
baseBlock
:
number
)
:
void
Parameters
baseBlock:
number
Returns
void
storage
Slot
Proof
storage
Slot
Proof
(
block
:
BlockTag
, address
:
string
, slot
:
BigNumberish
)
:
Promise
<
StorageSlotProof
>
Parameters
block:
BlockTag
address:
string
slot:
BigNumberish
Returns
Promise
<
StorageSlotProof
>
transaction
Proof
transaction
Proof
(
block
:
BlockTag
, txIdx
:
number
)
:
Promise
<
TransactionProof
>
Parameters
block:
BlockTag
txIdx:
number
Returns
Promise
<
TransactionProof
>
withdrawal
Proof
withdrawal
Proof
(
block
:
BlockTag
, idx
:
number
)
:
Promise
<
WithdrawalProof
>
Parameters
block:
BlockTag
idx:
number
Returns
Promise
<
WithdrawalProof
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Relic SDK
@relicprotocol/client
utils
@relicprotocol/types
RelicAPI
constructor
base
Block
instance
_fetch
account
Proof
addresses
attendance
Proof
birth
Certificate
Proof
block
Proof
log
Proof
set
Base
Block
storage
Slot
Proof
transaction
Proof
withdrawal
Proof
Generated using
TypeDoc