Transaction Policy
1. getCurrentPolicy
fun main() {
// Retrieve the current transaction policy
val resPolicy = getCurrentPolicy()
}
2. enablePolicy
fun main() {
val force = false
val enablePolicy = true
// Update the Transaction Policy
val updatedPolicy = enablePolicy(enabled, force)
// Handle the response
println("Transaction Policy Updated: $updatedPolicy")
}
3. disablePolicy
4. addWalletAddress
5. removeWalletAddress
6. updateWalletAddress
7. getTransactionAmountLimit
9. updateTransactionLimitPolicyForSpecificAddress
10. getTransactionCurrentUsage
11. checkAmountWithPolicy
12. recordTransactionDailyUsage
Last updated