Preparing search index...
The search index is not available
@honey-finance/sdk
@honey-finance/sdk
makeRepayTx
Function makeRepayTx
make
Repay
Tx
(
honeyUser
:
HoneyUser
, repayAmount
:
BN
, repayTokenMint
:
PublicKey
, repayReserves
:
HoneyReserve
[]
)
:
Promise
<
helpers
.
InstructionAndSigner
[]
>
Parameters
honeyUser:
HoneyUser
repayAmount:
BN
repayTokenMint:
PublicKey
repayReserves:
HoneyReserve
[]
Returns
Promise
<
helpers
.
InstructionAndSigner
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@honey-
finance/sdk
actions
contexts
helpers
hooks
wrappers
Anchor
Provider
Create
Market
Params
Create
Reserve
Params
Execute
Bid
Params
Honey
Client
Honey
Market
Honey
Provider
Honey
Reserve
Honey
User
Liquidator
Client
Market
Bundle
Market
Flags
Place
Bid
Params
Reserve
Config
Revoke
Bid
Params
SOLVENT_
FEE_
ACCOUNT_
DEVNET
SOLVENT_
PROGRAM
fetch
All
Markets
format
Amount
use
All
Positions
use
Anchor
use
Borrow
Positions
use
Honey
use
Market
wait
For
Confirmation
Txn
Response
Amount
Derived
Account
Number
Field
Pubkey
Field
Signed
Number
Field
Token
Amount
Anchor
Context
Anchor
Provider
Props
Bid
Cache
Struct
Cached
Reserve
Info
CollateralNFTPosition
Custom
Program
Error
Fungible
Collateral
Position
Has
Public
Key
Honey
Market
Data
Honey
Props
Instruction
And
Signer
Loan
Position
Market
Account
Nft
Position
Obligation
Account
Obligation
Position
Struct
Reserve
Config
Struct
Reserve
Info
State
Reserve
State
TReserve
To
Bytes
Total
Reserve
State
Web
Wallet
Amount
Units
Reserve
State
Struct
Result
Result
Error
Result
Success
Tx
Response
METADATA_
PROGRAM_
ID
Market
Reserve
Info
List
NULL_
PUBKEY
PLACEHOLDER_
ACCOUNT
Position
Info
Position
Info
List
Reserve
State
Layout
SOL_
DECIMALS
in
Development
Round
Half
Down
Round
Half
Up
borrow
borrow
And
Refresh
combine
All
Transactions
currency
Formatter
deposit
depositNFT
derive
Associated
Token
Account
explorer
Url
fetch
Reserve
Price
find
Collateral
Address
find
Deposit
Note
Address
find
Deposit
Note
Dest
Address
find
Deposit
Note
Mint
Address
find
Fee
Note
Vault
find
Loan
Note
Address
find
Loan
Note
Mint
Address
find
Market
Authority
Address
find
Obligation
Address
find
Program
Address
find
Vault
Address
get
Account
Info
And
Subscribe
get
Borrow
Rate
get
Cc
Rate
get
Custom
Program
Error
Code
get
Deposit
Rate
get
Err
Name
And
Msg
get
Health
Status
get
Mint
Info
And
Subscribe
getNFTAssociated
Metadata
get
Oracle
Price
get
Program
Account
Info
And
Subscribe
get
Token
Account
And
Subscribe
i64
Field
make
Borrow
Tx
make
Error
make
Repay
And
WithdrawNFT
make
Repay
Tx
make
Success
number
Field
on
Chain
Number
ToBN
oracle
Url
parse
Obligation
Account
parse
Token
Account
parse
U192
pubkey
Field
repay
repay
And
Refresh
send
All
Transactions
shorten
Pubkey
simulate
All
Transactions
timeout
to
Public
Keys
total
Abbrev
transaction
Error
To
String
u64
Field
withdraw
withdrawNFT
Generated using
TypeDoc