diff --git a/build.sh b/build.sh index 8313342..9123e9d 100755 --- a/build.sh +++ b/build.sh @@ -2,5 +2,5 @@ echo "Creating build" npm run build -echo "Creating doc" -npx typedoc --out doc src/index.ts +echo "Creating docs" +npx typedoc --cname sdk-docs.supra.com --out docs src/index.ts diff --git a/doc/.nojekyll b/docs/.nojekyll similarity index 100% rename from doc/.nojekyll rename to docs/.nojekyll diff --git a/doc/assets/highlight.css b/docs/assets/highlight.css similarity index 100% rename from doc/assets/highlight.css rename to docs/assets/highlight.css diff --git a/doc/assets/icons.js b/docs/assets/icons.js similarity index 100% rename from doc/assets/icons.js rename to docs/assets/icons.js diff --git a/doc/assets/icons.svg b/docs/assets/icons.svg similarity index 100% rename from doc/assets/icons.svg rename to docs/assets/icons.svg diff --git a/doc/assets/main.js b/docs/assets/main.js similarity index 100% rename from doc/assets/main.js rename to docs/assets/main.js diff --git a/doc/assets/navigation.js b/docs/assets/navigation.js similarity index 100% rename from doc/assets/navigation.js rename to docs/assets/navigation.js diff --git a/doc/assets/search.js b/docs/assets/search.js similarity index 100% rename from doc/assets/search.js rename to docs/assets/search.js diff --git a/doc/assets/style.css b/docs/assets/style.css similarity index 100% rename from doc/assets/style.css rename to docs/assets/style.css diff --git a/doc/classes/SupraClient.html b/docs/classes/SupraClient.html similarity index 96% rename from doc/classes/SupraClient.html rename to docs/classes/SupraClient.html index da6f3f4..d668eb8 100644 --- a/doc/classes/SupraClient.html +++ b/docs/classes/SupraClient.html @@ -1,5 +1,5 @@
Airdrop test Supra token on given account
+Airdrop test Supra token on given account
Hex-encoded 32 byte Supra account address
FaucetRequestResponse
Get Coin balance of given account
+Get transactions sent by the account and Coin transfer related transactions
+Get transactions sent by the account and Coin transfer related transactions
Supra account address
Number of coin transfer transactions and account sent transaction to be considered,
For instance if the value is N
so total N*2
transactions will be returned.
List of TransactionDetail
Get info of given supra account
+Get info of given supra account
Hex-encoded 32 byte Supra account address
AccountInfo
Get list of all resources held by given supra account
+Get list of all resources held by given supra account
Hex-encoded 32 byte Supra account address
AccountResources
Get Supra balance of given account
+Get transactions sent by the account
+Get transactions sent by the account
Supra account address
Number of transactions details
Cursor for pagination based response
List of TransactionDetail
Get Chain Id Of Supra Network
+Private
getGet Supra balance of given account
+Private
getGet Coin Transfer related transactions associated with the account
+Get Coin Transfer related transactions associated with the account
Supra account address
Number of transactions details
Cursor for pagination based response
List of TransactionDetail
Get current mean_gas_price
Get data of resource held by given supra account
+Private
getGet transaction details of given transaction hash
+Private
getGet transaction details of given transaction hash
Hex-encoded 32 byte Supra account address
Hex-encoded 32 byte transaction hash for getting transaction details
TransactionDetail
Private
getGet status of given supra transaction
+Private
getGet status of given supra transaction
Hex-encoded 32 byte transaction hash for getting transaction status
TransactionStatus
Check whether given account exists onchain or not
+Publish package or module on supra network
+Publish package or module on supra network
Module Publisher KeyPair
Package Metadata
module code
TransactionResponse
Private
sendPrivate
sendSend entry_function_payload
type tx using serialized raw transaction datas
Private
sendPrivate
sendSend entry_function_payload
type tx using serialized raw transaction datas
Sender KeyPair
Serialized raw transaction data
TransactionResponse
Private
signSimulate a transaction using the provided transaction payload
+Private
signSimulate a transaction using the provided transaction payload
Transaction payload
-Transfer coin
+Transfer coin
Sender KeyPair
Receiver Supra Account address
Amount to transfer
Type of coin
TransactionResponse
Transfer supra coin
+Transfer supra coin
Sender KeyPair
Receiver Supra Account address
Amount to transfer
TransactionResponse
Private
waitStatic
createStatic
createCreate serialized raw transaction object for entry_function_payload
type tx
Private
waitStatic
createStatic
createCreate serialized raw transaction object for entry_function_payload
type tx
Sender account address
Sender account sequence number
Target module address
@@ -121,7 +121,7 @@Maximum gas unit price for transaction
Expiry time for transaction
Serialized raw transaction object
-Static
initCreates and initializes SupraClient
instance
Static
initCreates and initializes SupraClient
instance
rpc url of supra rpc node
SupraClient
initialized instance
Provides methods for interacting with supra rpc node.
-